Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Index Visual C++ and MFC Fundamentals



  1. Click OK

  2. In the Win32 Static Library – Step 1 of 1, click both check boxes and click Finish
    then click OK

  3. To add a new header file, on the main menu, click File -> New...

  4. In the Files property page of the New dialog box, click C/C++ Header File. In the
    File Name edit box, type mfcextent and click OK

  5. In the empty file, type the following:


#ifndef MFCEXT_H_
#define MFCEXT_H_

namespace MFCExtensions
{
BOOL IsNatural(const CString Str);
BOOL IsNumeric(const CString Str);
int StringToInt(const CString Str);
double StringToFloat(const CString Str);
}
Free download pdf