How to make C projects in visual C++

This is a discussion on How to make C projects in visual C++ within the C Programming forums, part of the General Programming Boards category; i'm wonderin how to set up visual C++ to where i can add .c files to projects instead of only ...

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    26

    how do u make a C project in visual C++

    i'm wonderin how to set up visual C++ to where i can add .c files to projects instead of only being able to add .cpp

    thanks Rubiks14
    Last edited by Rubiks14; 12-31-2005 at 07:49 PM.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    File->New
    Select "Text File". Name the file "test.c". voila.

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    26
    of course...i forgot u could do that with text files

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    you can also do it with File-->New-->C++ SourceFile, then type test.c. The menu says C++ but you can specify .c extension.

  5. #5
    Registered User
    Join Date
    Oct 2005
    Posts
    26
    gotcha...that actually works out better since u can't create text files inside a project

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  2. how do I make visual studio 2003 compile?
    By jsrig88 in forum C++ Programming
    Replies: 1
    Last Post: 07-25-2006, 01:39 PM
  3. visual studio 6 and visual studio.net difference
    By gemini_shooter in forum Tech Board
    Replies: 5
    Last Post: 02-04-2006, 12:32 AM
  4. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 04:27 AM
  5. Using 'if' with char arrays or string objects
    By c++_n00b in forum C++ Programming
    Replies: 36
    Last Post: 06-06-2002, 09:04 PM

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