franneck94 / Vscode-C-Cpp-Runner

🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀
MIT License
53 stars 14 forks source link

multi cpp don't work #75

Closed jinduoxia closed 2 years ago

jinduoxia commented 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!

franneck94 commented 2 years ago

You cannot solve this with this extension. All source files must be in the same directory.