Call another cpp file
For example, I got the main.cpp , when the main() is finish i want to call the joke.cpp how do i do that?
//joke.h (Header file) #ifndef JOKE_H #define JOKE_H #endif void someFunction(int someParam); //The full function is stored in joke.cpp
//main.cpp
#include "joke.h"
int main()
{
someFunction(22);
return 0;
}
rawSomething()