STEPS FOR THE SIMPLE PROGRAMS IN VC++
Step 1: Open Microsoft Visual C++ 6.0 IDE from the Start menu.
Step 2: Click on File 🡪 Select New 🡪 From Project tab🡪 Select Win 32 Application.
Step 3: Give the Project name as “program1” 🡪 Select “An empty project” (It is by
Default selected) 🡪 Click on Finish 🡪 Click on OK.
Step 4: (In Workspace Area) Click on File View 🡪Click on “[+] program1” 🡪 Select
Source files.
Step 5: Click on File🡪Select New 🡪 From File tab 🡪 Select C++ Source File.
Step 6: Give the File name as “program1.cpp ( .cpp Extension is compulsory) 🡪 Click on
OK.
Step 7: From Menu bar Select Project🡪Then select Setting from the submenus 🡪One
Dialog box appears 🡪 From Microsoft Foundation Classes Select Use MFC in a
Shared DLL 🡪 Click OK.
Step 8: Type the program.
Step 9: Then Compile and Run the program.
WHEN RESOURCE.H HEADER FILE USED IN THE PROGRAM IN VC++
Step 1: Open Microsoft Visual C++ 6.0 IDE from the Start menu.
Step 2: Click on File 🡪 Select New 🡪 From Project tab🡪 Select Win 32 Application.
Step 3: Give the Project name as “program1” 🡪 Select “An empty project” (It is by
Default selected) 🡪 Click on Finish 🡪 Click on OK.
Step 4: (In Workspace Area) Click on File View 🡪Click on “[+] program1” 🡪 Select
Source files.
Step 5: Click on File🡪Select New 🡪 From File tab 🡪 Select C++ Source File.
Step 6: Give the File name as “program1.cpp ( .cpp Extension is compulsory) 🡪 Click on
OK.
Step 7: Click on File🡪Select New 🡪 From File tab 🡪 Select Resource Script.
Step 8: Give the File name as “program1.rc ( .rc Extension because Resource View is
Added in workspace area) 🡪 Click on OK.
Step 9: From Menu bar Select Project🡪Then select Setting from the submenus 🡪One
Dialog box appears 🡪 From Microsoft Foundation Classes Select Use MFC in a
Shared DLL 🡪 Click OK.
Step 10: Type the program.
Step 11: Then Compile and Run the program.
STEPS IN VC++ IF PROGRAM FOR CREATING MENUS
Step 1: Open Microsoft Visual C++ 6.0 IDE from the Start menu.
Step 2: Click on File 🡪 Select New 🡪 From Project tab🡪 Select Win 32 Application.
Step 3: Give the Project name as “program1” 🡪 Select “An empty project” (It is by
Default selected) 🡪 Click on Finish 🡪 Click on OK.
Step 4: (In Workspace Area) Click on File View 🡪Click on “[+] program1” 🡪 Select
Source files.
Step 5: Click on File🡪Select New 🡪 From File tab 🡪 Select C++ Source File.
Step 6: Give the File name as “program1.cpp ( .cpp Extension is compulsory) 🡪 Click on
OK.
Step 7: Click on File🡪Select New 🡪 From File tab 🡪 Select Resource Script.
Step 8: Give the File name as “program1.rc ( .rc Extension because Resource View is
Added in workspace area) 🡪 Click on OK.
Step 9: From Menu bar Select Project🡪Then select Setting from the submenus 🡪One
Dialog box appears 🡪 From Microsoft Foundation Classes Select Use MFC in a
Shared DLL 🡪 Click OK.
Step 10: From Menu bar Select Insert 🡪 Then select Resource from the submenu 🡪
Dialog Box appears 🡪 Select Menu 🡪 Click on New Project 🡪 Click on
Add to Project 🡪 Click on Files 🡪 Select .rc File 🡪 Click on OK.
Step 11: Type the program.
Step 12: Then Compile and Run the program.
STEPS IN VC++ IF PROGRAM FOR COLOR AND FONT
Step 1: Open Microsoft Visual C++ 6.0 IDE from the Start menu.
Step 2: Click on File 🡪 Select New 🡪 From Project tab🡪 Select Win 32 Application.
Step 3: Give the Project name as “program1” 🡪 Select “An empty project” (It is by
Default selected) 🡪 Click on Finish 🡪 Click on OK.
Step 4: (In Workspace Area) Click on File View 🡪Click on “[+] program1” 🡪 Select
Source files.
Step 5: Click on File🡪Select New 🡪 From File tab 🡪 Select C++ Source File.
Step 6: Give the File name as “program1.cpp ( .cpp Extension is compulsory) 🡪 Click on
OK.
Step 7: From Menu bar Select Project🡪Then select Setting from the submenus 🡪One
Dialog box appears 🡪 From Microsoft Foundation Classes Select Use MFC in a
Shared DLL 🡪 Click OK.
Step 8: From Menu Bar Select Project 🡪 Then select Setting from the submenus 🡪 One
Dialog box appears 🡪 Select “C/C++ tab” 🡪 Select “Code Generation” as a
“Category” 🡪 Select “Debug Multithreaded” From “Use Run Time Library” 🡪
Click on OK.
Step 9: Type the program.
Step 10: Then Compile and Run the program.
STEPS IN VC++ IF PROGRAM FOR BITMAP
Step 1: Open Microsoft Visual C++ 6.0 IDE from the Start menu.
Step 2: Click on File 🡪 Select New 🡪 From Project tab🡪 Select Win 32 Application.
Step 3: Give the Project name as “program1” 🡪 Select “An empty project” (It is by
Default selected) 🡪 Click on Finish 🡪 Click on OK.
Step 4: (In Workspace Area) Click on File View 🡪Click on “[+] program1” 🡪 Select
Source files.
Step 5: Click on File🡪Select New 🡪 From File tab 🡪 Select C++ Source File.
Step 6: Give the File name as “program1.cpp ( .cpp Extension is compulsory) 🡪 Click on
OK.
Step 7: From Menu bar Select Project🡪Then select Setting from the submenus 🡪One
Dialog box appears 🡪 From Microsoft Foundation Classes Select Use MFC in a
Shared DLL 🡪 Click OK.
Step 8: From Menu Bar Select Project 🡪 Then select Setting from the submenus 🡪 One
Dialog box appears 🡪 Select “C/C++ tab” 🡪 Select “Code Generation” as a
“Category” 🡪 Select “Debug Multithreaded” From “Use Run Time Library” 🡪
Click on OK.
Step 9: Type the program.
Step 10: Then Compile and Run the program.