Is the sites tutorial complete?

Basically, I want to know if the sites tutorial is a complete guide to C++.

I started reading another tutorial on a graphics engine, and got caught on the third paragraph, which mentions a "virtual class", something I've not heard of before. I've heard of virtual functions, but not that. If it isn't, where may I find a complete C++ tutorial online?
http://www.cplusplus.com/doc/tutorial/polymorphism/ Look for "Abstract Base Classes"

A pure virtual class is a class with any virtual function that is not defined, ie with the = 0 at the end of it:
1
2
3
4
5
class PureVirtual
{
public:
  virtual int Func() = 0; //The entire class is now abstract (pure virtual)
};
Pure virtual/abstract classes cannot be instantiated.
Last edited on
Oh, okay thanks. I didn't know a virtual class was an abstract one, silly synonyms. I really liked how the tutorial explained for the most part what the different terms meant, because when I started programming I didn't know what it was "to return", what an "identifier" was, or what the word "polymorphic" meant. I think the tutorial should explain what it means to return, because I can see that would be a hard to understand concept for beginners. Knowing what it means to "return" requires some knowledge about how a computer works, and while most beginning programmers are probably very interested in computers and know a lot about how to use them, I don't think they know how the computer works.

When I was 13 or 14, I wanted to make games with C++, so I googled and found this site. I was scared off by terms like that, and I didn't fully understand everything, so I gave up. I think its better to learn by having someone teach you (but I think this site has a good forum for helping). My math/programming teacher gave me a book for C++, and I still find it more difficult to follow than this site (cheers for cplusplus.com!). I think that's because the author uses technical terms instead of plain, easy to read language (it is for beginners after all), and includes a lot of pointless information.
I dont think any c++ resource is complete unless your reading the c++ programming language book
Last edited on
Topic archived. No new replies allowed.