Closed jinduoxia closed 2 years ago
Hello Franneck. I want to write the implementation of the function in another .cpp file, but it doesn't work. The file structure is as follows:
However it can work when I change the file structure as follows:
I know the reason is that function.cpp is not included and compiled when it is in the include folder. How can I solve this problem? THanks!
You cannot solve this with this extension. All source files must be in the same directory.
Hello Franneck. I want to write the implementation of the function in another .cpp file, but it doesn't work. The file structure is as follows:
However it can work when I change the file structure as follows:
I know the reason is that function.cpp is not included and compiled when it is in the include folder. How can I solve this problem? THanks!