Hi,
I am a newbie to c++, I would like to compile / link c++ files:
game.h (header / interface file)
game.cpp (implementation of the header file)
use_game.cpp (a program file that uses the definitions of the functions in game.cpp)
How would I compile the above in the terminal ?
I used to use g++ for compiling simple (one source code file).
Thanks,
Muthu
I am a newbie to c++, I would like to compile / link c++ files:
game.h (header / interface file)
game.cpp (implementation of the header file)
use_game.cpp (a program file that uses the definitions of the functions in game.cpp)
How would I compile the above in the terminal ?
I used to use g++ for compiling simple (one source code file).
Thanks,
Muthu