Thursday, December 21, 2006

BEginining.....


Visual C++ 6.0 is designed to help you build your C++ programs and has a debugger and compiler and everthing all in one, so you dont have to bother with any of that. The source code you write will be saved in a file with a .cpp extension (the cpp stands for C plus plus). The compiler will translate the higher-level instructions you wrote into machine language ( 1's and 0's). This is what the computer doesunderstand. So when you compile the program, the compiler will aso create a file with a .obj extension (obj for object). And finally, once the compiler creates the object file, the linker is then executed. The linker will take the object file and combine additional machine code nessary for it to run correctly, and an executable file is then created, which has an extension of .exe (exe for executable). If all is well, you can run the .exe file over and over without need of anymore translating and such. This is your final product.


No comments: