Does this link in with actually making a nice program the has buttons and stuff that you can actually use? Like a windows application?
Probably not. Any decent book about the C or C++ language shouldn't. Graphics and other API stuff for use with the core language should probably be learnedafter you learn the core language.
[edit]If you want a WinAPI book, google for Petzold.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
Look at this way, it's like learning to read. First you read each character, then each word, then perhaps an entire sentence. If you want to do GUI (the windows and button thingy) programming with C++, you got to be able catch entire paragraphs at a glance, or the amount of code will drown you. Good luck with your programming progress!
There are some tiny C++ GUI code snippets to look at like
http://www.daniweb.com/code/snippet96.html
vegaseat
DaniWeb's Hypocrite
5,987 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
From what I know, if your looking to do full blown windows programs you probably wanna look into the Visual .NET framework. Thats what my C++ book said. Let me quote it:
"Dev-C++ (the particular complier i'm using and one of the more popular ones) does generate Windows-compatiable 32-bit programs, but it does not easily support creating programs that have the classic Windows look. If you want to do taht, you'll have to break open the wallet and go for a commercial package like Visual Studio.NET. Having said taht, I strongly recommend that you work through the examples in this book first and learn C++ before you tackle Windows developement. They are two separate things and (for the sake of sanity) should remain so in your mind"
What I got out of it: C++ is an important stepping stone towards learning how to make "Classic Windows" programs. I think the other more experienced people would tell you the same. But I don't no for sure. I too am just starting to learn.
Kob0724
Junior Poster in Training
52 posts since Jul 2005
Reputation Points: 30
Solved Threads: 0
Don't thank me, thank C++ for DUMMIES. I love those books. If you wanna get a book for Visual Studio.NET I'd highly recommend looking to see if they have a "for dummies book" for it. I like their books for a couple of reasons. First of all, they have a really informal approach to the whole learning process. Its like they're right there with you and makeing little side comments and what not. I think it eases the whole learning process. Second of all, they really segment the books well. If you already know how to do something, you can just skip that section or if you don't wanna learn about a particular subject you can just completly skip around the books. If they do use something from a previous chapter they make sure you know it. Example: We're going to take a closer look at pointer variable (which I introduced in chapter 8.) I think the books are great. Thats my two cents.
Kob0724
Junior Poster in Training
52 posts since Jul 2005
Reputation Points: 30
Solved Threads: 0
Thanks alot, loved the way you know what i want when i say button thingy.. lol.
and thaknyou also to kob... once i work completely through this book.. i prolly will crack open the wallet (or my mums wallet, because she said she'll buy anything programming related that i need :D) and buy visual studio.NET
....
This is a continuation of my "Look at it this way" series.
Let's first find out if you like programming, it's sort of like learning a musical instrument. If you start out with C++ and want your mum to fork over big bucks for Visual Studio.NET, it's like saying I want to learn how to play the piano, so mum buy me a grand piano. Maybe you want to start out with something more humble and less formal like a guitar.
There are computer languages much more friendly to the beginner than C++. One language I like for its simplicity and power is Python. It is fun from the start, and when you discover you like programming, switch to C++ (the grand piano). There will be much you are already familiar with from your Python (the guitar) experience.
Be my guest and take a look at the DaniWeb Python sub-forum, there is a sticky there called "Starting Python". No, this is not part of a shameless self-promotion. I am at home with both languages.
vegaseat
DaniWeb's Hypocrite
5,987 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417