Question:
Where to insert C++ language?
anonymous
2011-01-04 05:12:15 UTC
sorry, i'm really a beginner of programming... first of all, where do people insert these bundle of codes? in a notepad? or somelse program special for inserting these codes? help, thanks!
Six answers:
Jeroonk
2011-01-04 05:34:57 UTC
Usually programmers use a more sophisticated program called an IDE (Integrated Development Environment) to develop programs. An example is Microsoft Visual C++.

It will syntax highlight your code but also keeps track of your files and projects, is 'intelligent' and keeps track of your variables, classes, function definitions etc., gives you more information about possible errors and much more. All tools which are really useful when programming.



But notepad works fine.





After having coded your program, you will probably have saved it as a bunch of .cpp and .h files. To make an actual program (a .exe) out if it, you need to compile it.



A .exe file is essentially just a long list of simple instructions for the CPU. Simple instruction like add and subtract, but then not written down as the word 'add' itself, but the corresponding binary number which the CPU understands as 'add'.

A compiler is just a program which acts like a translator from semi human-readable code like C++ to the binary equivalent for the computer to read. It takes a .cpp file and spits out a .exe file.



There are quite a lot of different compilers for C++ alone, each with its different quirks. There are simple compilers which must be run from the command line such as the GNU set: http://gcc.gnu.org/.



But there are also compilers are integrated into an IDE. Microsoft Visual C++ which I mentioned earlier has such a compiler. You just press a button on the toolbar, and it will make a .exe from the code you are currently programming.





Some software I would recommend:

http://www.mingw.org/ - A minimalistic command-line compiler for windows, based on the GNU compiler set. It also comes with some other tools.



http://www.microsoft.com/express/Downloads/#2010-Visual-CPP - Microsoft Visual C++ 2010 express edition. A fully integrated IDE for developing C++ applications.



http://www.bloodshed.net/devcpp.html - Another IDE, which utilizes the MinGW compiler. Probably easier to understand and use for the beginning programmer. Also a lot less system-heavy then Visual C++.



http://notepad-plus-plus.org/ - An upgrade from the old notepad to support syntax highlighting, advanced replace and all kinds of plug-ins and tools a programmer might need to write code. Note that this is just a fancy text editor, and does not include a compiler.
anonymous
2016-12-04 02:40:34 UTC
the subject with you is you do not understand what does a library advise. you're able to do despite you like with C, yet you're able to desire to locate libraries that have applications to try this for you or construct your individual library up on yet another library. for GUI as an occasion there is win32
anonymous
2011-01-04 05:35:39 UTC
You can use any text editor or you can use an integrated development environment (IDE).
Ali
2011-01-04 05:17:22 UTC
you can use TextPad...

its basically used for C++ and Java programs!



http://www.textpad.com/download/
anonymous
2011-01-04 05:16:18 UTC
Hello

You need a compiler.

Cheers.
c0d3pRaDa
2011-01-04 05:16:36 UTC
you could use dev c++

http://www.bloodshed.net/download.html



or



microsoft visual c++

http://www.microsoft.com/express/download/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...