hi
can someone help me?
i have one problem that i can't compile my program
when i compile in ms dos it show g++ is not recognized as an internal or external command, operable program or batch
i hope you all can help me!!
thank you
hi
can someone help me?
i have one problem that i can't compile my program
when i compile in ms dos it show g++ is not recognized as an internal or external command, operable program or batch
i hope you all can help me!!
thank you
Unless your in *nix, then g++ isn't a command that you can just use anywhere. In Windows, first make sure you have it on your computer, then navigate to the folder in the command line, then you can use it. Or, better yet, you can use one of the many free IDEs that use g++ such as Dev-C++.
Sent from my iPad®
You can also add your mingw installation\bin path to the PATH environment variable........ you should add your mingw installation\bin path to the PATH environment variable
Originally Posted by brewbuck:
Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.
Depending on what version you have, the executable might be called gpp.exe, not g++.exe. DOS compilers, such as DJGPP, often have gpp because DOS can't handle a filename with + in it.
It's far more likely that you just aren't in the right directory or it isn't in the path. With the default installation directory, try this:
Code:C:\>cd Dev-Cpp\bin C:\Dev-Cpp\bin>g++ --version
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.