Can I Compile and debug (run) single c++ file.
Posted: Tue Mar 25, 2014 6:51 pm
Hello,
I'm learning C++ out of a book and using CodeLite.
In order to follow the book's exercises, I need to make multiple .cpp files with the main() function inside them.(Inside individual Cpp file).
Is there any way I can compile/debug my programs without making a new project every single time?
Or
if I could just have everything inside a single project where I could compile whichever individual file I wanted and see it run.
Regards
I'm learning C++ out of a book and using CodeLite.
In order to follow the book's exercises, I need to make multiple .cpp files with the main() function inside them.(Inside individual Cpp file).
Is there any way I can compile/debug my programs without making a new project every single time?
Or
if I could just have everything inside a single project where I could compile whichever individual file I wanted and see it run.
Regards