Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Visual studio.net query

Options
  • 07-04-2006 1: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 Posts: 2,426 ✭✭✭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 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