RE: [Dev-C++] compiling project fails
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <Mat...@Ve...> - 2005-03-21 20:30:56
|
You see it how you see it. I see it how I see it. I look at a class as being
more like a namespace than like an enumeration or structure. You look at a
class as being more like an enumeration or structure than like a namespace.
This difference in belief is trivial and irreconcilable; therefore, QED, let
us not continue debating it.
-----Original Message-----
From: Per Westermark [mailto:pw...@ia...]
Sent: Monday, March 21, 2005 12:03 PM
To: Mat...@Ve...
Cc: m.d...@fe...;
dev...@li...
Subject: RE: [Dev-C++] compiling project fails
I can't really see what stupidity there is to require a semicolon after a
type or data declaration. There is really no difference from
enum Color { RED, GREEN, BLUE };
int hello,there;
typedef unsigned Age;
struct Person {
std::string name;
Age age;
};
unsigned short seed[] = {0x18da,0xbc3c,0x52f4,0x5100};
...
/Per W
> Note that there must be a semicolon after the class declaration, just like
> for a struct. I inserted it in the right place in the code above. This
> stupid idea was eliminated in Java, but sadly still remained in C++.
>
> HTH!
> Matt
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|