Using Command Line using Visual C++ 2008 - Select Start >> All
Programs >> Microsoft Visual C++ 2008 Express Edition >> Visual
Studio Tools >> Visual Studio 2008 Command Prompt (Run with
administrator privileges) - Once you are in the command line,
you can use any editor such as edit to write a C program. C:>
edit myprogram.c - After written the program, to compile it,
issue the command cl C:> cl myprogram.c - During the compilation
and linking, myprogram.obj and myprogram.exe will be created. -
To run the program: Using Visual C++ 2008 IDE - Create an empty
project by select File >> New >> Project. Select General >>
Empty Project and type in the project name. - Under folder
Source, right-click Select Add >> New Item. - Under Code, Select
C++ File (.cpp), however, when you type in the name use a
program name with extension .c, such as myprog.c and click Add -
You can program to type your C program. Click Save icon to save
your file. - To compile the program select Build >> Compile
(Ctrl+F7). - Please note tha