0

I am new to the c++ programming language and I need help.

So I have created the program in the extension .cpp ,but how can I run it, its just text! Is their anyway I could run it as a program from command line or an executable file?

Plz help.
Thanks to those who spent time in reding this.

Edited by Batch File: n/a

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Batch File
0

its just text!

Yes, yes it is. C++ is a compiled language, which means you need a compiler and linker to turn that text into executable machine code. The easiest way to get started is with an IDE. You'll be able to create projects and build them with the click of a button. Two good IDEs are Code::Blocks and Visual C++ 2010 Express.

0

If you are using a mac, I suggest downloading the free Developer package and then compiling the code in the Terminal. The Developer package includes other compilers that you might be interested in, such as Perl.

0

Thanks for the help! Both answers have been helpful due to the fact that I have Windows XP and Mac OS X!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.