Author Topic: How to compile *.cpp from command line?  (Read 3131 times)

Offline rain-13

  • Single posting newcomer
  • *
  • Posts: 5
How to compile *.cpp from command line?
« 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to compile *.cpp from command line?
« Reply #1 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.