Hello everyone. I suppose I should start off with an introduction. I'm new to the whole C++ environment. I've done some scripting in perl, but just started with C++. I've picked up a few books and looked around on the web now for about 5 months. Finally came across this site last night. I don't have to much time to spend actually programming or reading because I'm currently in Iraq, but once I get back to the states I plan on using the military to pay for college. Going to go the Computer Science route.
I've read the messages posted here on the sticky section. I've already ordered the first book, accelerated C++. It should arrive in about 6-7 days. Currently I am reading the Sam's Teach Yourself C++ in 21 Days book. It's okay, but pretty bland. It also over uses source code examples, rather then just a snippet. This is just my perspective that I have gathered based on books I really enjoyed, such as the Llama, Alpaca, and Camel books for perl. What do you guys think of the Sam's book? Don't want to learn a style and then try to unlearn nasty habits..
The main thing I am having trouble understanding at this time, besides pointers and references of course, is the way variables and strings work. In perl, you had scalar and list context. Scalar data just meant single values, much like int, unsigned short int, or even char. List of course is for several, list styled values. These were stored in Arrays and Hashes. I've got a feeling most of the people here have at least a basic understanding of perl, so I am most likely wasting my time explaining this, but for my question I find it necessary to put the mindset I have right now out there.
This is all I've known about variables until C++. Now, C++ has several different types. Take Unsigned Short Int. It has a max value of 65,535 on my computer. To mean this is kind of unclear. I can see the reason why.. but how do you work around it in the programmers point of view? perl had no limits on size. This was never an issue. I'm also having trouble understanding Linked List, as well as strings. I don't expect a full explanation on these topics, but if anyone can point me in the right direction that would be great!
I've built a few programs and many many example exercise questions.. but none of them feel like they have any point to it. I kind of enjoy the examples I have found here, and can't wait to get to work trying some of them out in a few days when I get more free time.
Currently I'm using the Bloodshed Dev C++ compiler. I also have the MS Visual Studio 2005 Pro w/ MSDN Pro. Not really a big fan of MS line of products, but it was sort of a gift from my brother, so why not.. Main thing I do not like about VC7 is that it has way to many features in the IDE. I haven't messed with the command line to much, I use prefer to load up linux and run GNU with vim or if I am on windows use the Bloodshed. Maybe if I wasn't such new guy with C++, the VC7 would be nice.
Like I said, besides the books listed here and the questions listed, where else do you guys suggest to go for a really thorough tutorial, explanation, guide, and information source for C++? I can't really start taking classes for about 3-4 more months, so it's just reading and internet for now.
Thanks for reading, take care everyone!