KDevelop Felhasználói Kézikönyv -Fordítás alatt: Referencia Kézikönyv a Unix operációs rendszer alatt futó KDevelop Integrált Fejlesztői Környezethez, 1.0 Verzió | ||
---|---|---|
Vissza | Tovább |
Now that KDevelop installed successfully and the most commonly used options are set, you are probably wondering if it keeps what it promises. This Chapter gives you a guideline to how programs are created using the GNU tools in general and especially what part KDevelop plays in this game.
The Compiler is actually the program on your system that has to be installed as a minimum to create running programs; he is the one that compiles the source code into object files and creates the program.
Normally, you would start like this: Open an editor of your choice - don't use a word-processor. Type in something like this to create the source for your first program:
#include <iostream.h> int main(){ cout << "Hello World" << endl; } |
g++ -o myprogram myprogram.cpp |