Thread: hw to write,compile,and debug c code in visual c++ editor 2008 express edition

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    9

    hw to write,compile,and debug c code in visual c++ editor 2008 express edition

    hw to write,compile,and debug c code in visual c++ editor 2008 express edition

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    What exactly do you want to know? The built-in help in MSVS is pretty good, so perhaps you should try that. I think there is even tutorials.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    are you trying to sell us a book?

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    9
    built in help is for c++. not for c so wil u please help me

  5. #5
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by beginer View Post
    built in help is for c++. not for c so wil u please help me
    Sure, but you'll need to ask specific questions, otherwise you'll get vague answers.

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yes, but it is the same for C, as well. C can compile under C++, if you will.
    If you need to compile C with a C compiler, rename the files to .c instead of .cpp. The rest is the same.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by beginer View Post
    built in help is for c++. not for c so wil u please help me
    The ONLY difference for C instead of C++ is that you should name the files .c instead of .cpp - that way they will be compiled as C rather than C++. Debugging C is the same as C++, compiling still uses the same menu's and short-cut keys. The online help will almost certainly tell you so - but it may not be the most obvious thing.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. visual c++ 2005 express edition compiler
    By rs07 in forum C++ Programming
    Replies: 3
    Last Post: 09-24-2008, 03:49 AM
  2. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  3. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  4. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM