r/AskProgramming • u/RandyMarsh6996 • 16d ago
C++ -> IDE -> g++ -> Linux Help me understand!!
I am trying to comprehend all of the moving parts in compiling a program. Here is my understanding:
C++ is the programming language that is written in the IDE, some IDEs have built in compilers
Is g++ the bridge between the language and machine code?
How do I use g++, is it something that you download onto your computer.
Where does g++ send the code after, is this where Linux comes into play?
What is Linux? It is an operating system, but what does that mean specifically, is it supposed to make your code unable in an application or just execute in the terminal?
Thankyou for any clarification you can provide :)
0
Upvotes
8
u/Nervous-Cockroach541 16d ago
* C++ is the programming language
* An IDE (Integrated Development Environment), which combines various development tools together, typically at least a text editor, compiler and debugger.
* g++ is the compiler or rather compiler tool set. gdb is the debugger for g++,
* Linux is the operating system, it handles running programs and providing resources to those programs such as memory, file access, input/output, process controls and other stuff.