https://www.vitalsource.com/products/c-programming-program-design-including-data-d-s-malik-v9781305177116that was my c++ textbook for
programming 1&&2 college courses online , if you read it and do the examples at the end of each section you will learn it , but like all programming books it's pretty think stuff and you will have to really want to get it done
it's a good book, very thorough and comes with an ereader type app.
if you arent serious theres another version without the last 3 chapters for like 20$ cheaper, but you will have a good foundation if you make it through this one, try and do a chapter a week except for the long ones
Code
Table of Contents
1. An Overview of Computers and Programming Languages.
2. Basic Elements of C++.
3. Input/Output.
4. Control Structures I (Selection).
5. Control Structures II (Repetition).
6. User-Defined Functions.
7. Namespaces, the Class String, and User-Defined Simple Data Types.
8. Arrays.
9. Records (Structs).
10. Classes and Data Abstraction.
11. Inheritance and Composition.
12. Pointers, Classes, Virtual Functions, and Abstract Classes.
13. Operator Overloading and Templates.
14. Exception Handling.
15. Recursion.
16. Linked Lists.
17. Stacks and Queue.
18. Searching and Sorting Algorithms.
19. Binary Trees.
20. Graph Algorithms.
21. Standard Template Library.
Appendix A. Reserved Words.
Appendix B. Operator Precedence.
Appendix C. Character Sets.
Appendix D. Operators Overloading.
Appendix E. Additional C++ Topics.
Appendix F. Header Files.
Appendix G. Memory Size on a System and Random Number Generators.
Appendix H. Answers to Odd Numbered Systems.
- See more at: http://www.cengage.com/search/productOverview.do;jsessionid=3027712932739EFE1828C8FA7C1A9216?N=16&Ntk=P_EPI&Ntt=1553413275561677567195926223886205680&Ntx=mode%2Bmatchallpartial#sthash.rF9cs3TF.dpuf