Using C/C++


  1. Check the C/C++ Help Pages.

  2. Create a C/C++ Program such as HelloWorld.c or HelloWorld.cpp .

  3. Compile the Program.
    1. For C:
        gandalf> /usr/bin/gcc  -o HelloWorld  HelloWorld.c
    2. For C++:
        gandalf> /usr/bin/c++  -o HelloWorld  HelloWorld.cpp

  4. Run the Executable File such as HelloWorld .
      gandalf> ./HelloWorld