Quote Originally Posted by ertss View Post
I still cannot figure out what's the problem...
I think I must have misused the default constructor... I did it following a youtube tutorial...
I attached the code from the tutorial and could you guys show me my fault when applying this kind of
scheme?

Thanks for all your advices...
I'll add one more thing. IMHO, your chances of learning C++ programming from YouTube are 0. There's just way too much you have to know. Get a good book.