C project in Microsoft Visual C++ 2010 Express?

This is a discussion on C project in Microsoft Visual C++ 2010 Express? within the C Programming forums, part of the General Programming Boards category; Can I create a regular C project in Microsoft Visual C++ 2010 Express? If so how?...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Location
    London, UK
    Posts
    18

    Question C project in Microsoft Visual C++ 2010 Express?

    Can I create a regular C project in Microsoft Visual C++ 2010 Express? If so how?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,717
    Yes. Just create a C++ solution. In the project configuration, go to C/C++ -> Advanced -> Compile As. Set to compile as C. You might also change the extension of .cpp files to .c.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    London, UK
    Posts
    18
    Quote Originally Posted by laserlight View Post
    Yes. Just create a C++ solution. In the project configuration, go to C/C++ -> Advanced -> Compile As. Set to compile as C. You might also change the extension of .cpp files to .c.
    Thanks so much that's really helpful

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  2. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 10:52 PM
  3. Apps that act "differently" in XP SP2
    By Stan100 in forum Tech Board
    Replies: 6
    Last Post: 08-16-2004, 10:38 PM
  4. MS Visual C++ 6 wont include vector.h in a header file
    By bardsley99 in forum C++ Programming
    Replies: 9
    Last Post: 11-06-2003, 11:05 AM
  5. header file bringing errors?
    By bluehead in forum Windows Programming
    Replies: 4
    Last Post: 08-19-2003, 12:51 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21