Thread: "Hello World"

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    4

    Unhappy "Hello World"

    So I got the Codeblocks 10.05 downloaded. I am trying to get myself associated with programming before going to school for it.
    ( I also have SAMS Teach Yourself C++ book)

    Anyway, I am trying to run the very basic beginner "program" with Codeblocks while following the Codeblocks directions word for word. Yet every time I try to open a new project with wxWidgets, it gets to the "PLEASE select the location of wxWidgets on your computer" section it won't work. It says this is the top level folder where wxWidgets was unpacked. I cannot for the LIFE of me get passed this section to start a new project. Does this make sense to anyone? Sorry if it doesn't.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Wait, this beginner program requires you to have wxWidgets installed, beyond what is necessary to get CodeBlocks to run? If so, move to another beginner program. Messing around with wxWidgets can come later.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    4

    Lightbulb

    Quote Originally Posted by laserlight View Post
    Wait, this beginner program requires you to have wxWidgets installed, beyond what is necessary to get CodeBlocks to run? If so, move to another beginner program. Messing around with wxWidgets can come later.
    the instructions for the hello world program ran through wxwidgets rather than console application. Any ideas for a better beginner program? I worked visual basic a very long time ago but with the rate things evolve im sure im out of date on it.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Yes. Borrow/buy Accelerated C++ from your local library/bookstore.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Sep 2010
    Posts
    4

    Smile Uber newb

    Quote Originally Posted by laserlight View Post
    Yes. Borrow/buy Accelerated C++ from your local library/bookstore.
    Thank you very much. I hope I can get it VIA online because I will not be in the US for another six months and trying to mail things to Iraq is very tough as of late. Thanks again for the input I will look into it as soon as I can.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I don't get "hello, world" program!
    By Ravens'sWrath in forum C Programming
    Replies: 12
    Last Post: 05-06-2007, 03:41 AM
  2. error after compiling "hello world" win program !
    By Meshal in forum Windows Programming
    Replies: 2
    Last Post: 12-01-2006, 01:53 PM
  3. New- Help with "hello world"...
    By chamelious in forum C++ Programming
    Replies: 1
    Last Post: 09-30-2004, 06:40 PM
  4. "hello! world" gives error
    By ashesh in forum C++ Programming
    Replies: 24
    Last Post: 06-12-2003, 06:19 PM
  5. Beginner in VC++, A simple "Hello world" progarm.
    By zahid in forum Windows Programming
    Replies: 12
    Last Post: 12-20-2001, 01:02 AM