Hey everyone, I'm looking to start learning to code in C, and I configured the program to compile with MinGW. However, when i start a new workspace, it only allows me to select C++, PHP, and javascript. I've read online that coding in C when its configured for C++ can cause errors, so I ask the question in the title with that in mind.
Thanks
Does selecting C++ in the wrkspace allow me to code in C?
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Jan 15, 2016 5:11 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Jan 15, 2016 8:18 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Does selecting C++ in the wrkspace allow me to code in C
There doesn't seem to be much in an empty C++ workspace file, and nothing that ties it to C++. I think it should really say "C/C++" workspace. And when you make a project, you are given the choice to select a C or C++ compiler which effectively must make the project a C or a C++ project, untied to anything else in the workspace. So it seems like C projects under a "C++" workspace, should be fine in Codelite.
-
- CodeLite Curious
- Posts: 2
- Joined: Fri Jan 15, 2016 5:11 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Does selecting C++ in the wrkspace allow me to code in C
Thank you, perfect response!
However, first attempt to run the generic "Hello World" program was detected as a threat by antivirus, and output says my compiler executable is not a recognizable program batch file etc....LOL, guess i gotta do this on my linux computer, huh?
However, first attempt to run the generic "Hello World" program was detected as a threat by antivirus, and output says my compiler executable is not a recognizable program batch file etc....LOL, guess i gotta do this on my linux computer, huh?
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Jan 15, 2016 8:18 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Does selecting C++ in the wrkspace allow me to code in C
Some virus checkers allow you to exclude directories or directory trees from being checked or analyzed.