News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Compiling in cmd

Started by sanchyvil, October 04, 2008, 06:13:24 PM

Previous topic - Next topic

sanchyvil

Hi I dont know how to compile c++ codes in windows...

In Linux I do

g++ filename.cpp -o filename

and run the program using

./filename

I don't know how to do it in windows...
what i got is a message
Quote'g++' is not recognized as an internal or external command,operable program or batch file

Im asking it here because I also want to know if different IDE's uses different methods in compiling c++ codes in cmd...

tnx for the help...

dje

Hi !

Either it is not installed, either it is not in the PATH environment variable.

Did you install the bundle that includes GCC ?

Dje

sanchyvil

tnx for the help i can use the g++ command now