locked
Xcode Vs. VS C++ RRS feed

  • Question

  • what is the difference between "xcode" and "VS C++"

    I mean can compile a project using C language on Xcode as if i'm going to make it on VS C++?

    Thursday, November 11, 2010 5:22 PM

Answers

  • If you are making a program using ONLY standard c-runtime libraries, then XCode, and Visual Studio C++ are pretty much the same. Well, except the profiling support of XCode is much much much much better.

    XCode also comes bundled with many many freely licensed GPL and LGLP libraries: zlib, openssl and hundreds of others.

    The principal difference is however, VS C++ comes with the Windows Platform SDK and builds Windows apps, and XCode comes with the Cocoa Framework, and builds Mac OS X apps. Each environment also runs only on its own platform.

     

    • Marked as answer by Jesse Jiang Wednesday, November 17, 2010 2:22 AM
    Thursday, November 11, 2010 6:36 PM
  • "galarfaj" wrote in message news:0ed21f62-a8c1-4309-91a1-b751d2c95ce2...
    > what is the difference between "xcode" and "VS C++"
     
    First, there is no such product as "VS C++". There is Visual Studio, IDE
    and Visual C++, a compiler.
     
    The main difference is compiler. XCode uses GCC. Visual Studo uses Visual
    C++.
     
    > I mean can compile a project using C language on Xcode as if i'm going to
    > make it on VS C++?
     
    As long as you 1) stick to C language as defined in C89 standard, 2) don't
    use GCC extensions,
    3) don't use POSIX, you should be fine.
     
    Best regards.
    --
    Mateusz Loskot, http://mateusz.loskot.net
    Charter Member of OSGeo, http://osgeo.org
     
     
    • Marked as answer by Jesse Jiang Wednesday, November 17, 2010 2:22 AM
    Friday, November 12, 2010 12:33 PM

All replies

  • If you are making a program using ONLY standard c-runtime libraries, then XCode, and Visual Studio C++ are pretty much the same. Well, except the profiling support of XCode is much much much much better.

    XCode also comes bundled with many many freely licensed GPL and LGLP libraries: zlib, openssl and hundreds of others.

    The principal difference is however, VS C++ comes with the Windows Platform SDK and builds Windows apps, and XCode comes with the Cocoa Framework, and builds Mac OS X apps. Each environment also runs only on its own platform.

     

    • Marked as answer by Jesse Jiang Wednesday, November 17, 2010 2:22 AM
    Thursday, November 11, 2010 6:36 PM
  • "galarfaj" wrote in message news:0ed21f62-a8c1-4309-91a1-b751d2c95ce2...
    > what is the difference between "xcode" and "VS C++"
     
    First, there is no such product as "VS C++". There is Visual Studio, IDE
    and Visual C++, a compiler.
     
    The main difference is compiler. XCode uses GCC. Visual Studo uses Visual
    C++.
     
    > I mean can compile a project using C language on Xcode as if i'm going to
    > make it on VS C++?
     
    As long as you 1) stick to C language as defined in C89 standard, 2) don't
    use GCC extensions,
    3) don't use POSIX, you should be fine.
     
    Best regards.
    --
    Mateusz Loskot, http://mateusz.loskot.net
    Charter Member of OSGeo, http://osgeo.org
     
     
    • Marked as answer by Jesse Jiang Wednesday, November 17, 2010 2:22 AM
    Friday, November 12, 2010 12:33 PM
  •  

    Hi,

     

    I'm very interested your issue, did you solve your problem?

    If so please share the solution with us and mark the right answers.

    If not please let me know.

     

    Have a nice day!

    Jesse


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, November 16, 2010 6:26 AM