User forums > General (but related to Code::Blocks)

How to compile *.cpp from command line?

(1/1)

rain-13:
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.

Jenna:
Not related to C::B, therefore violating our forum rules.

Topic locked !!

Tip:
read the documentation or search the web.

Navigation

[0] Message Index

Go to full version