I have purchased the new Symantec C++ 6.0 and I thought I'd get a complete C++
compiler. I've tried to port some progs I developped on a Windows/DOS C++
compiler. Unfortunately I discovered some drawbacks of Symantec C++ like:
– the "new"-operator doesn't seem to be applicable for non
class memory allocation such as: new int[10];
(I know there is that direct/indirect addressing problem!)
– constructors may not have arguments
Will there ever be a way to use one source code for these problems? Or will I
have to live with some strange Mac C++?
Michael,
>>constructors may not have arguments
Not true. I've got lots of constructors with arguments.
SC++ appears to follow the proposed ANSI C++ spec, with about the only
exception being "exceptions".
If you have constructs from another C++ that don't compile in SC++, then either
there's a bug in SC++ or the original C++ had a non-ANSI language extension.
Regards,
Robin