View Single Post
Old 08-01-2007, 06:24 PM   #9 (permalink)
Zeeshan Quireshi
C# Be Sharp !
 
Zeeshan Quireshi's Avatar
 
Join Date: Jun 2006
Location: Toronto
Posts: 1,805
Default Re: GCC vs VISUAL STUDIO

well there IS NO math.h in standard C++ , it is in C so you should use :
Code:
#include<cmath>
instead of :
Code:
#include<math.h>
Quote:
Originally Posted by morpheusv6
Can GCC run on the windows platform(windows XP more specifically) or do I have to download linux for that( please recommend if yes(Fedora Core 6 or Ubuntu or any other))?
I am currently using Dev C++ and MS VC++ Express Edition 2005.

But a programming competion I attended a few months back was based on GCC.

Is there any syntax difference between those program which are compiled in MS VC++ and GCC?
Also recommend a good book to learn GCC, I already have knowledge of C and C++.
hey made STANDARD C++ programs will compile on both the compilers perfectly , it is the depricated libraries that pose the problems , most ppl learn C in the name of C++ using OLD style headers , etc .
__________________
There are 10 types of people in the world: those who understand binary and those who do not.

Last edited by Zeeshan Quireshi; 08-01-2007 at 06:41 PM.
Zeeshan Quireshi is offline