The best way is to read "The C++ Programming Language" by Bjarne Stroustrup. If you read it, you will know everything you need to know about C++. But that book is intense, so if you're not used to any kind of programming before you should get something easier to start with - and once you're ready and determined go fo the stroustrup.
For a compiler, CW is reasonably cheap if you're a student.