Debug/Compile C in VISUAL STUDIO --need help!

This is a discussion on Debug/Compile C in VISUAL STUDIO --need help! within the C Programming forums, part of the General Programming Boards category; Hello there! I have been trying to program in C (not C++, mind you). I am really new to it, ...

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    3

    Debug/Compile C in VISUAL STUDIO --need help!

    Hello there!

    I have been trying to program in C (not C++, mind you). I am really new to it, and I was wondering if anyone could give me a step by step process of how to create a C project in visual studio! I think I got close, but I cannot debug a program, I can only run it w/out debugging -- so I can't use breakpoints! That's no good, because I need them to figure out what my problems are.

    Thank you in advance!

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    Have you tried the help files with visual studio? You have to also make sure that the compiler compiles it as C code and not C++. Extension .c not .cpp.
    I'm just trying to be a better person - My Name Is Earl

  3. #3
    Registered User
    Join Date
    May 2007
    Posts
    3
    Yah i did both those, but it still won't debug!

  4. #4
    Registered User
    Join Date
    May 2007
    Posts
    27
    I got vb 2005 and after you hit build and start without debugging it will give you errors and then it will say win32 exception .... then it will ask you to debugg it now. It is all in the handbook

  5. #5
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    Yea but Visual Basic is different from Visual C/C++. But I know what you mean. It depends on the target type too. I never had the problem, but I always build console applications. You should be able to debug freely.
    I'm just trying to be a better person - My Name Is Earl

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 08:26 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 04:45 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 09:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

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