Thread: Question: What version of C standard is implemented in modern Linux and Windows XP

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    2

    Question: What version of C standard is implemented in modern Linux and Windows XP

    Hi,

    I am learning C language, what is lacking is info about what version is implemented in Windows XP and modern versions of Linux and Mac, and even some info about differences between them!!

    Thanks!!
    Last edited by Salem; 11-28-2010 at 02:42 PM. Reason: Snip spammed URL fail

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    C-99 is the current standard for C programming. Supposedly it's the same core language and libraries on all systems.

    Of course the GUI specific stuff --Windows API for example-- is going to be widely divergent between OSs.

    Windows and Linux manage some compatibility through Wine, a Windows emulator for Linux. Mac has it's own Windows emulator as well...

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    2
    Quote Originally Posted by CommonTater View Post
    C-99 is the current standard for C programming. Supposedly it's the same core language and libraries on all systems.

    Of course the GUI specific stuff --Windows API for example-- is going to be widely divergent between OSs.

    Windows and Linux manage some compatibility through Wine, a Windows emulator for Linux. Mac has it's own Windows emulator as well...
    I was thinking exactly this, there's only drafts, thanks, I will google out more about this specifiets!!

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by alexdbars View Post
    I was thinking exactly this, there's only drafts, thanks, I will google out more about this specifiets!!
    Those drafts are the underlying guidance behind almost all newer compilers. If you found the papers, you've found the standard.

  5. #5
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    Ummm...though C99 is the current standard, most compilers are not fully C99 compliant. Most all are C89 or "ANSI C" compliant.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows-Linux Comparison
    By Yarin in forum General Discussions
    Replies: 80
    Last Post: 02-14-2010, 05:10 PM
  2. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 04:25 AM
  3. A question about windows programming
    By Hussain Hani in forum Windows Programming
    Replies: 16
    Last Post: 05-23-2007, 07:38 AM
  4. C99 standard prog buggy with Linux but not Windows
    By Greenman in forum C Programming
    Replies: 15
    Last Post: 01-06-2004, 04:54 PM
  5. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM