Topic: Parameters Passed to a Constructor


Author: labb-3af@web-3a.berkeley.edu ()
Date: 9 Nov 1993 06:17:03 GMT
Raw View
I'm using the Symantec C++ compiler on the Macintosh and whenever I pass
any arguments to a constructor, I get a syntax error.
In other words:
Class Console{
 Console();
};
is ok
while
Class Console {
 Console( int num );
};
gives a syntax error at the declaration of the constuctor. Am I missing
something?