To build a C Project in Visual Studio 2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yo250
    New Member
    • Mar 2008
    • 1

    To build a C Project in Visual Studio 2005

    Hi
    I need to make a Project C runnable in Visual Studio 2005
    I use in my home Visual Studio 2000 and with no problems I made C project
    But in Visual Studio 2005 I can't do it
    Please write to me How to make a C Project
    Many thanks
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    That is because there is little reason to create a C project on windows now C++ exists and is stable (which it has been for many years).

    If you really want to create a C project then create a C++ project, remove the .cpp files from it and create new files with a .c extension and add it to the project

    You may need to alter the setting of the "Compile As" property in the sub-category Configuration Properties -> C/C++ -> Advanced in your project property pages.

    Comment

    • worldwidegeneration
      New Member
      • Mar 2008
      • 4

      #3
      Hey, its not too dificult to make a C project in visual studio 2005.
      File-> New -> Project

      in the Visual C++ project type, select General, then Empty Project.
      Fill in the project name, select a directory and press Ok.

      Then as in any visual studio environment, either create your .c files via visual studio, or manually then drag them into the appropriate folders on the side e.g. "Source Files"

      goodluck

      Comment

      Working...