can anyone tell me good compile for c++

Write here if you have problems with your C++ source code

Moderator: Board moderators

Post Reply
Artikali
Learning poster
Posts: 68
Joined: Wed Sep 21, 2005 5:27 pm

can anyone tell me good compile for c++

Post by Artikali »

i use VC.NET is it good compile.

shamim
A great helper
Posts: 498
Joined: Mon Dec 30, 2002 10:10 am
Location: Bozeman, Montana, USA

Post by shamim »

The compiler used by most Online Judge is GNU standard. The operating system used is Linux. So, it is better that you use those compilers.

Artikali
Learning poster
Posts: 68
Joined: Wed Sep 21, 2005 5:27 pm

Post by Artikali »

thanks for your attantions
where could i download it GNU standart

danielrocha
New poster
Posts: 44
Joined: Sun Apr 27, 2003 3:17 am
Location: Rio Grande do Norte - Brazil
Contact:

Post by danielrocha »

http://gcc.gnu.org/
Website of the GNU GCC project. Most linux distributions already come with gcc/g++. If yours doesn't, look for some guide on how to install it. If you use Windows as your OS you should probably give Cygwin a try:
http://www.cygwin.com

Hope it helps,
Daniel
UFRN HDD-1
Brasil

chunyi81
A great helper
Posts: 293
Joined: Sat Jun 21, 2003 4:19 am
Location: Singapore

Post by chunyi81 »

MinGW for windows also comes with gcc/g++ as well.

Cho
A great helper
Posts: 274
Joined: Wed Oct 20, 2004 11:51 pm
Location: Hong Kong

Post by Cho »

One thing I don't like from mingw is that its printf takes %I64d instead of %lld for printing long long.

shamim
A great helper
Posts: 498
Joined: Mon Dec 30, 2002 10:10 am
Location: Bozeman, Montana, USA

Post by shamim »

Is there a way to just Install g++ of cygwin and not the entire package?
Downloading all the unnecessary things takes a lot of time.

Krzysztof Duleba
Guru
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland
Contact:

Post by Krzysztof Duleba »

What do you mean? You need gcc-g++ package and all its dependencies (namely cygwin bash binutils w32api mingw-runtime libintl3 gcc-mingw-g++ gcc-core), which in turn might have their own depencencies. Setup pulls them automatically, if you uncheck any of them the installation process will fail. There should be about 50 MB to download, it's not that much I suppose.

Post Reply

Return to “C++”