- Check the C/C++ Help Pages.
- Create a C/C++ Program such as HelloWorld.c or HelloWorld.cpp .
- Compile the Program.
- For C:
shell> /usr/bin/gcc -o HelloWorld HelloWorld.c
- For C++:
shell> /usr/bin/c++ -o HelloWorld HelloWorld.cpp
Check the current information of gcc or c++ :
Run the Executable File such as HelloWorld .
shell> ./HelloWorld
|