delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/03/26/19:28:06

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.com;
h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
b=Kyhjd5lFWeg0Mmx7Bi4/MrtUMBTFzwqtRCa3RwlOEFrIn0b74U6QuxIC0yFwXYGbNMjA8grUiJFVBgHPtoWLGw9p7tHN2btMg5tC31+VGXd3m991No+aQjtyj8tvotMwZUqpCyf9Z42o8Jhet6h979Dh7G+Wc3iTj6qZ60EeDFg=;
X-YMail-OSG: coU12TQVM1kxd8MxcncPjRQnt2dTrzcjyAMAAkVnmRUEQv5TcpInWhm0LUuuTh9rxQQRjieLiA--
Date: Wed, 26 Mar 2008 17:00:47 -0700 (PDT)
From: William OConnell <william_peter_oconnell AT yahoo DOT com>
Subject: Class_Track_Object
To: djgpp AT delorie DOT com
MIME-Version: 1.0
Message-ID: <609704.67452.qm@web65713.mail.ac4.yahoo.com>
Reply-To: djgpp AT delorie DOT com

Hello All,

Is there any reason why it would be illegal to declare
a class entitled, "Class_Track_Object"?

I attempted to do this on DJGPP using Windows 98. 
When I use this name, the compiler gives me a parse
error.  But when I change to "Class_Track_Object1", it
accepts it.  Why does this happen?

For example:

class Class_Track_Object
{
private:
protected:
public:
        void Procedure_Title_Set ();
};

void 
Class_Track_Object
::Procedure_Title_Set ()
{

}

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019