Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: rain-13 on June 05, 2009, 12:08:47 am

Title: How to compile *.cpp from command line?
Post by: rain-13 on June 05, 2009, 12:08:47 am
If I have Code::Blocks installed and I want to compile *.cpp from command line then how can I do it?
I tried:
gcc.exe "c:\path\to\file.cpp"
and then I got error, but when  I click on compile button, then I dont have that error.
Title: Re: How to compile *.cpp from command line?
Post by: Jenna on June 05, 2009, 12:17:37 am
Not related to C::B, therefore violating our forum rules.

Topic locked !!

Tip:
read the documentation or search the web.