Hi, completely new here, though have had some programming done. Nice to meet you all.
these are just my opinions after having checked out books in the last 10 years for "learning" compiled languages programming.
For informal learning of C/C++
For C++, probably Teach yourself C++ by Al Stevens
I don't know about your SAMS book. Could be good enough to start.
C - C programming by Robert Lafore
For more of a formal setting..i.e. college courses.
Maybe after you get a hang of C/C++ syntax, then here are some of
the "classics" then get a exposure and intro to data structures..
Algorithms in C++ by Robert Sedgewick, good theory book plus examples
or Data Structures & Algorithm Analysis in C++ by Mark Allen Weiss who
also has a website with code to support the book. Forgot to mention, the book also does a nice small review of C++ in the beginning, a bit on perfomance analysis any code segments, the o() function, and a whole chapter on Standard Template Library(STL) at the end. (2nd ed.). A great
college textbook with practical value for C++ programming.
his site: www.cs.fiu.edu/~weiss
the textbook: http://www.awprofessional.com/title/0201361221
For exposure to nonimperative languages i.e. functional(more like Lisp, LOGO etc.)
Structure and Interpretation of Computer Programs - Abelson, Sussman, the "classic" intro used at MIT. The book is FREE too in PDF form or something
at the mit sites. I forget exactly now. Don't ask me for questions about LISP or ML though, I took the course like 3 times and I still don't get fold, map, that well, and there is so much other stuff in the "practical" world to learn.
Prolog - Now maybe an academic language, though geniuses claim it can be used for systems programming, AI applications and other stuff. But it's one of the best in showing how programming can be done in formal logic.
ML for the working programmer - Paulson (UK book)
Prolog Programming in Depth - Convington, Nute, Vellino (I got frustrated with the
Sterling and Shaprio book)
As for exposure to Assembly, if you want to try it, the best for windows/dos systems is still probably Mastering Turbo Assembler by Tom Swan, much easier to read than that gross community college favorite textbook by Peter Abel. Though you need to get Borland Assembler, or some old MASM 5.1/6.0 somewhere from either borland's site for TASM or some other outlets.
There's also some CD's out there with data structures, learning C books all wrapped up into one CD usually from C++ Report magazine or some such. I'm sure it's on all those websites some place.
And finally as I stop rambling, most anything by Schildt or Jesse Liberty are easy to read quality books. For having fun learning , Andre LaMothe has game programming books with lots of geek jokes sprinkled throughout and a fun hobbyist reading style while summarizing Windows Programming, some AI, Direct X in a very accessible way.