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

Thread: Hello World

  1. #1
    Join Date
    Dec 2002
    Posts
    2

    Question Hello World

    I have just read the first chapter of Teach Yourself c++ in 24hours my question is:

    I have downloaded a compiler and editor from download.com and the task for the first chapter is to run Hello.cpp which is supposed to be my first ever programme.

    I having trouble doing this so can someone kindly tel me exactly how I can accomplish this task and if I have downloaded the correct tools.

    I know this is very basic but I need start getting on the next chapter but your help will be appreciated.

  2. #2
    Join Date
    May 2000
    Location
    Phoenix, AZ [USA]
    Posts
    1,347
    Read the compiler's documentation to find out how to do the
    following:
    1) Compile your source files into object files. This is done with the
    compiler.
    2) Link your object files into the executable. The linker does this.

    That's the basic gist of it, but it's really much too complicated to
    get into on a message board ... and you're probably not going to
    be learning all of the details in 24 hours. Read the documentation
    that came with the product.

    --Paul

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