Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Visual studio.net query

  • 07-04-2006 01:42PM
    #1
    Closed Accounts Posts: 67 ✭✭


    Can you compile and run C code in Visual Studio.net how?


Comments

  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit


    Nope, not that i know of. Its only for .NET languages.


  • Registered Users, Registered Users 2, Paid Member Posts: 2,427 ✭✭✭ressem


    Yes you can compile c in VS.Net.

    Create a new project. Visual C++. Using the subtype Win32 Console application or Win32 Project as appropriate for your program.

    You don't want to use the CLR versions, they're the .net framework versions.

    Then Click under menu project/properties
    On property page. click c/c++, Advanced, compile as c code.


    Edit: To debug, use either step through (F11, f10) or debug (F5) to see your code working or not.


  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit


    Never knew you could do that! That i'm going to try as soon as i get home. That'd beat the pants off Dev-C++ i'd say.


  • Registered Users, Registered Users 2 Posts: 1,391 ✭✭✭fatherdougalmag


    And don't forget the freely available download of Visual Studio Express editions. Plenty to muck around with there. Plus a free 8 hour video tutorial from Microsoft.


Advertisement