CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 26

Threaded View

  1. #15
    Join Date
    May 2006
    Location
    Dresden, Germany
    Posts
    458

    Re: what is difference in compiling and debugging.

    Dear vkash,

    Thx for your commendation but let me add a little bit to this thread.

    In your original post you wrote:
    Quote Originally Posted by vkash
    How compiling is different from debugging.
    Can you (now) see that you did not provide enough information to get the right answer?

    The sentence you gave is missing the question tag (In my codeguru-forum-question-analyzer this will produce a warning, but no error ).

    You asked for the difference between compiling and debugging. This question will be interpreted by other users not the way you intended. At least for people using the compiler, linker and debugger every day. Some of the users here (including myself) have been programing for such a long time that they do remember these old times, when there wasn't an IDE (Integrated Development Environment) available. You had to use a (stand alone) editor for creating/editing the source code. Then you started (manually) a program that compiled it, if it didn't write errors to your console you started the linker. The debugger (if there was one) had to be started manually these times too.
    Later you could make your life easier using make files (especially in *NIX systems, but there were equivalents in DOS/Windows too).
    Nowadays many of us use the IDE's which are multi-purpose-tools. They are resource editors, source editors, auto source ident tools, source analyzers, compilers. linkers and debuggers as well. They are used for project management too. The problem resulting from that comfort is that newer users often don't know the differences/meanings of compile, link, debug, run etc.

    Back to your original post:

    Try to be more detailed when questioning. Say what you want to achieve, what you want to know. "Will pressing Ctrl+F5 create the same executable then pressing F5? And if so what's the difference?" could be a better approach.

    regards
    PA
    Last edited by ProgramArtist; June 23rd, 2011 at 08:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured