How can I compile C or C++ with Visual Studio .NET?

This is a discussion on How can I compile C or C++ with Visual Studio .NET? within the C Programming forums, part of the General Programming Boards category; I have hard time to find the instruction or tutorial on how can I compile C or C++ with Visual ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    12

    How can I compile C or C++ with Visual Studio .NET?

    I have hard time to find the instruction or tutorial on how can I compile C or C++ with Visual Studio .NET. The manual come in with .NET is joke.

    Please help? I want to start on C programming but I cannot find how to compile C. Thank you. I usually use MVC++ to compile C for me but MVC++ CD scratched and cannot install it anymore so I bought new product, VS.NET but couldn't find any instruction or tutorial on how to compile C in VS.NET on net (I did search thur google and no luck)
    Last edited by Dakkon; 02-11-2003 at 01:03 PM.

  2. #2
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    What's the real problem?
    You don't have a lot of options, join in file, create a new project, create a new source file for the project, and compile, what's the problem?

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    Pick C++ project then which template? is it Win32 application template?

  4. #4
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    What did I do is pick C++ project > Win32 application template > change to Console application and empty project in application setting > right click on empty source folder > Add > Add New item > Visual C++ folder > C++ file (since no .c so I pick that one) > add C codes and I cannot compile since compile feature is not in that "Build" tab..

    I tried everything and nothing luck. I even save the source as .c in "save as" file but no compile.. Thanks.

  5. #5
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    You tried to compile with the command line compiler that comes with Visual C++?

  6. #6
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    I am not sure what you mean by that. I just bought .NET today and I just start to learn how to programming C today with Dietel book.

  7. #7
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    Here, you can search exactly how to compile with Visual C++.NET on your system:

    http://msdn.microsoft.com/library/de...gccprogram.asp

  8. #8
    Registered User
    Join Date
    Oct 2002
    Posts
    12
    Originally posted by Vber
    Here, you can search exactly how to compile with Visual C++.NET on your system:

    http://msdn.microsoft.com/library/de...gccprogram.asp
    Many thanks Vber! I never think to check that msdn site. Sorry to waste you time :\

  9. #9
    Registered User Vber's Avatar
    Join Date
    Nov 2002
    Posts
    807
    You dont need to sorry dude
    It's not waste of time.

    Ahh, and welcome to Cprogramming.
    Hope you enjoy.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console Font Size
    By bradszy in forum Windows Programming
    Replies: 34
    Last Post: 04-26-2008, 07:09 AM
  2. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  3. multiple errors generated by socket headers
    By nocturna_gr in forum Windows Programming
    Replies: 5
    Last Post: 12-16-2007, 05:33 PM
  4. Microsoft Visual Studio .NET HELP!!
    By mrafcho001 in forum Tech Board
    Replies: 8
    Last Post: 03-15-2005, 01:16 PM
  5. <list>
    By Unregistered in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 03:07 PM

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