Program. Ask about issues on forums. Program more. You need many practice. Read every bit of information if you do not want to buy books: patterns of programming, best practices: you probably will not discover these yourself.
There is free variant of C++ standard. You can find some references in it if you know how to use it. Use online references.
Or become a pirate
Either way with books or not, you will not learn how to program without practice. It should be your main focus.