On Thu, Sep 20, 2001 at 03:32:23PM +0800, Federico Sevilla III wrote:
> Hi everyone,
>
> I am not quite sure whether this is on or off-topic but here goes anyway.
> In school we unfortunately use Turbo C++ v3.0 for our C++ development work
> (at least not Visual C++, I should be thankful). So I tested my machine
But then, TC++ 3.0 is a relic. It was made about seven or eight years
or so before the X3J16 committee which came up with the C++ standard
ratified the standard. In those eight years, a helluvalot has happened
that will break old programs. You could write a program that ran
using the draft standard that prevailed back in 1992 or 1993 when
Turbo C++ 3.0 was written, and break with a more modern compiler which
is compliant with the final standard that eventually came up many
years later, such as GNU C++.
I have the feeling that's part of your problem: standard rot.
The same's not true of Turbo C 2.0, fortunately. The draft standard
that came out in 1986 was more or less the same standard X3J11 finally
ratified in 1990.
As far as pointers to classes in your code, there is no problem with
using in Linux that as far as I know. Without actually seeing your
code, I have no idea what the problem could be, although I suspect it's
because GCC uses the final C++ standard, while TC++ does not.
--
Rafael R. Sevilla <[EMAIL PROTECTED]> +63(2) 8177746 ext. 8311
Programmer, InterdotNet Philippines +63(917) 4458925
http://dido.engr.internet.org.ph/ OpenPGP Key ID: 0x5CDA17D8
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]