User profile: vukki

User info
User name:vukki
Statistical data
Gender:Male
Skills:C++
History
Joined:
Number of posts:22
Latest posts:

Segmentation Fault on return
Yes, it seems your copy constructor or operator= absent or incorrect.

variable problem
it is the way the streams work. You can check if there is something in a stream after the cin>>a wor...

variable problem
when you're entering "5z", [code]cin>>a;[/code] reads '5' into the a and the program continues.

Local class question
No way. Quote from 9.8.1: A class can be defined within a function definition; such a class is ca...

invalid use of incomplete type ‘class
Virtual functions not allowed to be templates (14.5.2.3). In fact in such code you get partial spec ...