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 » Wed Oct 19, 2005 11:31 am

i use VC.NET is it good compile.

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

Post by shamim » Wed Oct 19, 2005 4:08 pm

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 » Wed Oct 19, 2005 9:26 pm

thanks for your attantions
where could i download it GNU standart

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

Post by danielrocha » Sat Oct 29, 2005 10:53 pm

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 » Sun Oct 30, 2005 5:00 am

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

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

Post by Cho » Mon Oct 31, 2005 8:11 am

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

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

Post by shamim » Tue Nov 08, 2005 11:59 am

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.

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

Post by Krzysztof Duleba » Tue Nov 08, 2005 1:45 pm

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++”