Qustion problem

This is a discussion on Qustion problem within the C++ Programming forums, part of the General Programming Boards category; hello all im new here, as you all might notice. I 'm a was a Basic programmer for awile ( ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    25

    Qustion problem

    hello all im new here, as you all might notice. I 'm a was a Basic programmer for awile ( mostly used liberty basic) and now im moving on to C++. but I have a slight problem. Frist im using Dev c++ for the compiler. second, i would like to know how to ask a qustion. for example, lets say if they wanted to start a new game

    and if they ether typed Y or N they would get results. Y would bring them to the game and N would shut down the window.

    any help would be great. thank you.

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    I think you first need to buy a book and learn the language. Teach Yourself C in 24 Hours (or something like that) is a good start. There are many other books equally good too. I'm certain you didn't learn to drive a car by first drivng in a world speed race such as Indianopolis 500. You don't want to learn c programming either by jumping in the middle of some difficult problem (difficult for newbes). Start at the beginning and learn it right the first time. In time you will be able to answer your question yourself without help, then pat yourself on the back for a job well done.

  3. #3
    Registered User
    Join Date
    Sep 2005
    Posts
    25
    Thanks. by any chance u know how much the book costs?

  4. #4
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    go to your local book store or see online at www.amazon.com. The price all depends on the book and what country your live in. Books in USA generally cost more than in other nations. You might also get a free online e-book, but I don't remember where. google for ebooks and you will probably find it.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Moderately Rabid Decrypt's Avatar
    Join Date
    Feb 2005
    Location
    Milwaukee, WI, USA
    Posts
    300
    I agree with Salem's first book (haven't read the second). I took C++ in college with a terrible book, and now have to re-learn everything and undo all of the bad habits I learned from that book. Accelerated C++ is a great book to learn from. I haven't finished it yet, but so far I've learned quite a bit, and have a good grasp on what it's gone over so far. It includes exercises at the end of the chapters, too. They might feel too much like extra homework, but it's worth it!

    Decrypt

    BTW, if you are taking a class, and the teacher is using An introduction to C++ by Diane Zak, punch them.
    As hard as you can.
    Somewhere soft.


    Disclaimer: Decrypt does not actually endorse the physical abuse of teachers. Please do not try at home. Consult your doctor before beginning this, or any other exercise regimen.
    Last edited by Decrypt; 09-27-2005 at 09:31 PM.
    There is a difference between tedious and difficult.

  7. #7
    ~Team work is the best!~ wakish's Avatar
    Join Date
    Sep 2005
    Posts
    85
    u dn't really need to buy a book though. There are many good tutorials on the net!

    and for books, Shaum's book are good and all the questions have full solutions..so it is really good for self-independent studies and u will learn most of what u shud know more quickly with it...
    But as i said, try to get a good tutorial with which u are comfortable with, then consider buying a good book for supplements!

    the book:

    programming with C++, John R.Hubbard- Shaum's Outlines
    Last edited by wakish; 09-27-2005 at 06:51 PM.

  8. #8
    Registered User
    Join Date
    Sep 2005
    Posts
    25
    Thanks for the info. some one let me borrow How to Program C++ by Deitel & Deitel second Edition. so far its a decent book. any reviews you all might have on this book?

  9. #9
    Dae
    Dae is offline
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    You may not need to buy a book.. but $40 will save you someodd 500-1000 extra hours while learning C++. All the time being confused, asking questions, forgetting vocabulary, going back to check if you're right about something, and looking for a reference.. are well worth the money. The tutorials are okay, but nothing compared to a good C++ book.. I regret avoiding a book until after reading 5 tutorials.

    I recommend http://www.acceleratedcpp.com/ too.

    Gardul, read amazon.com: http://www.amazon.com/exec/obidos/tg...books&n=507846

    As the descriptions say.. looks a little too comprehensive for an introduction to C++. I'd rather learn the concepts and practice it a bit, but not butcher it and read 1000 lines of code o.o

    However, I always recommend getting a book thats comprehensive and full of vocabulary after learning the basic concepts, usually I suggest C++ Primer Plus (5th ed.), but this looks like a good replacement.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,546
    More books
    http://www.accu.org/bookreviews/publ...nner_s_c__.htm

    You may not necessarily agree with the review comments, but at least it provides some calibration against what you expect from a book, and perhaps gets you to a shorter list to consider further.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 10:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM

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