Thread: Programming in Linux and in WinXP

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    2

    Question Programming in Linux and in WinXP

    do all the functions in C work the same in Linux as with WinXP?

    or are there any that works well in WinXp that doesnt in Linux?

    thanks

  2. #2
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    All standard C functions work on all platforms that support C.
    OS's like Linux & Windows also provide a ton of platform specific functions which may or may not (usually not) be supported on other platforms.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by cpjust View Post
    All standard C functions work on all platforms that support C.
    OS's like Linux & Windows also provide a ton of platform specific functions which may or may not (usually not) be supported on other platforms.
    At the same time, most functionality available in either of those OS's is usually found SOMEWHERE in the other - but it is sometimes a bit tricky to find what it's called and how to make it work exactly the same thing (particularly if the functionality is directly connected with some OS-internal behaviour).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed