Well if you want to learn programming the correct way try find a book written by a computer science professor. There are plenty of books out there just written by programmers who do not code correctly or safely so they teach you how to be a bad programmer.
For C++ i would recommend D.S. Malik, you can get it from walmart.com http://www.walmart.com/catalog/produ...uct_id=2585362
__________________ \"Today\'s scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.\" Nikola Tesla |