difference between the GCC and windows C

  • the_1
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 13, 2008
  • Posts: 13
  • Status: Offline

Post March 31st, 2008, 9:01 pm

Hello all,

I want to know the difference between the GCC and our windows C (which we are using regularly..like Turbo C etc.)

Can anyone post the link from where I can get the difference between these two.

Thanking you all in advanced..
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 31st, 2008, 9:01 pm

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post March 31st, 2008, 9:16 pm

http://www.google.com/search?q=differen ... +windows+C
The Beer Monocle. Classy.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 31st, 2008, 9:41 pm

The Irony... Top result
http://www.linuxforums.org/forum/redhat ... ndows.html
#define NULL (::rand() % 2)
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 1st, 2008, 9:29 am

rofl.. nice.

http://www.bloodshed.net <- makers of dev-c++ , an IDE for windows that uses GCC as the compiler.


by "windows c" do you mean microsoft visual c++ like techieMoe suggests in your post on the other forum?
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • eggi
  • Novice
  • Novice
  • No Avatar
  • Joined: Oct 13, 2007
  • Posts: 30
  • Status: Offline

Post April 1st, 2008, 7:45 pm

I'd say, from doing a bit of porting myself, that the biggest problem you're going to run into is with the content of the includes (whatever.h). These are drastically different. One simple example would be any implementation of network programming, since winsock, and especially the underlying ip headers are much different than Unix/Linux gcc.

If you're looking for the simplest route to convert from linux/unix to windows, try Cygwin and install the whole boat. It'll make a lot of the headaches go away when you port your code to windows.

, Mike
  • the_1
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 13, 2008
  • Posts: 13
  • Status: Offline

Post April 1st, 2008, 10:29 pm

AnarchY SI wrote:
rofl.. nice.

http://www.bloodshed.net <- makers of dev-c++ , an IDE for windows that uses GCC as the compiler.


by "windows c" do you mean microsoft visual c++ like techieMoe suggests in your post on the other forum?


i mean to ask the difference between stanard C which we are using and GCC...

and even difference also related to coding style and other technical stuff..

can any one tell me..??
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Joined: Jul 20, 2007
  • Posts: 3318
  • Loc: Trout Creek, MT
  • Status: Offline

Post April 2nd, 2008, 7:00 am

Well C is the programming language, GCC is the "GNU C Compiler", which compiles your C source code. GCC is not a programming language.
Like Mr Spork, I also write about my interest in alcoholic beverages.

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 60 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.