I have a main code (.cpp) and some other files (.cpp and their corresponding .h file) which contain the function that are used in my main program. I’d like to know how to compile my files and run the main code.
I have a main code ( .cpp ) and some other files ( .cpp
Share
This depends on your compiler. For example, with GCC you might write: