Loading...

how to use c++ to m… - QuestionCove
OpenStudy (anonymous):

how to use c++ to make .exe that could run in operating system?

5 years ago
OpenStudy (anonymous):

Just compile the code and go to the place where the source code is stored. A .exe file will be there by same name as that of source code. Iuse turbo C++ And it works not sure with others.

5 years ago
OpenStudy (anonymous):

For every code you write in C++, an object file and .exe file are automatically created after you compile and run the code once. Or alternately you can also create an exe file by custom options available in all C++ compilers.

5 years ago
OpenStudy (anonymous):

u r gonna need compiler for this purpose, because c++ is just the programming language u need compiler to make make the executable(.exe) of the c++ program, u can try dev c++ compiler or any other c++ compiler for this purpose.

5 years ago
OpenStudy (rsmith6559):

If this is a troubleshooting question for a GCC port, if you don't have an -o executableName.exe switch in your compile command, you'll get something like a.out, a.out.exe or a.exe (Unix gives you a.out. I don't know Windows specifically, but the same type of thing should happen).

5 years ago
OpenStudy (bruce1q):

You mention .exe file so you are probably on a Windows platform. You can download a free edition of Microsoft's C++ compiler and IDE and compiler and you can try to build and run the sample C++ programs that come with it. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express) If you try to understand the sample programs, you can start to make your own from there.

5 years ago
Similar Questions: