Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Use 'C' in VS .NET 2003?

Use 'C' in VS .NET 2003?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++visual-studioquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    j1e1g1
    wrote on last edited by
    #1

    Hi guys, I'm taking a class for which all my material must be written in C, not C++ or C#. Does anyone know if theres an expansion/download for visual studio that allows one to do this? I can get basic C to compile if i create a Visual C++ project > Win32 > Empty Project, and then rename a text file to the .c extension, but the DOS prompt won't wait on functions like scanf() that require user input. I really don't want to develop in vi on our campus Sun machines, so any input is much appreciated. Thanks, Justin

    A D 2 Replies Last reply
    0
    • J j1e1g1

      Hi guys, I'm taking a class for which all my material must be written in C, not C++ or C#. Does anyone know if theres an expansion/download for visual studio that allows one to do this? I can get basic C to compile if i create a Visual C++ project > Win32 > Empty Project, and then rename a text file to the .c extension, but the DOS prompt won't wait on functions like scanf() that require user input. I really don't want to develop in vi on our campus Sun machines, so any input is much appreciated. Thanks, Justin

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Justin, I never got it to work right with just changing the file names, I use the command line options: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/\_core\_.2f.tc.2c\_2f.tp.asp

      1 Reply Last reply
      0
      • J j1e1g1

        Hi guys, I'm taking a class for which all my material must be written in C, not C++ or C#. Does anyone know if theres an expansion/download for visual studio that allows one to do this? I can get basic C to compile if i create a Visual C++ project > Win32 > Empty Project, and then rename a text file to the .c extension, but the DOS prompt won't wait on functions like scanf() that require user input. I really don't want to develop in vi on our campus Sun machines, so any input is much appreciated. Thanks, Justin

        D Offline
        D Offline
        David Salter
        wrote on last edited by
        #3

        You should be able to write "plain C" applications with VS.NET. Give your files a ".C" extension and it should work OK. What errors do you get?


        store your internet favourites online - www.my-faves.co.uk

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups