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
Can I Compile and debug (run) single c++ file.
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Sun Mar 23, 2014 8:37 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Can I Compile and debug (run) single c++ file.
You can define external tool that compiles the currently active editor.
Search the forum for this.
A good place to start is from the menu: plugins -> extrenal tools
Eran
Search the forum for this.
A good place to start is from the menu: plugins -> extrenal tools
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 13
- Joined: Sun Mar 23, 2014 8:37 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Can I Compile and debug (run) single c++ file.
Hi,
Can you please explain this.
Thanks
Can you please explain this.
Thanks
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Can I Compile and debug (run) single c++ file.
Did you searching the forums?
Searching for " external tools" gives among other this result:
http://forums.codelite.org/viewtopic.ph ... tool#p5694
Eran
Searching for " external tools" gives among other this result:
http://forums.codelite.org/viewtopic.ph ... tool#p5694
Eran
Make sure you have read the HOW TO POST thread