Monday, July 27, 2009

How can u convert hello.cpp file into hello.exe file?

by using compiler like visual studio c++,gcc++, bloodsed etc

How can u convert hello.cpp file into hello.exe file?
The .cpp file is the source code (a program written in a semi-English-like language). It needs to be compiled, or translated, into an executable file the computer can understand.





To do this you need a C++ compiler of some sort. For example, if you use the GNU C++ compiler the command from the command prompt would be:





g++ -o hello.exe hello.cpp





On Windows, you could get Microsoft's Visual Studio C++ Express Edition compiler for free (just google for it), start the program, make a new project, add the hello.cpp, and compile it through the GUI interface.
Reply:you have to go on line and see if there is a converter for that





(sorry i don't know these files so i cant tell you the program)
Reply:Get Dev-C++ from Bloodshed and use it as a compiler =P Just open the file in Dev-C++ Then go to Execute -%26gt; Compile and Run ^_^

flowers for algernon

No comments:

Post a Comment