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