[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> class MY_CLASS : public MY_PARENT {
> public:
> MY_CLASS();
> MY_CLASS(const MY_CLASS &);
> ~MY_CLASS;
> };
>
> MY_CLASS::MY_CLASS()
> {
> ...
> }
>
> MY_CLASS::MY_CLASS(const MY_CLASS &)
> {
> ..
> }
>
> MY_CLASS::~MY_CLASS()
> {
> }
>
>
> You'd better keep the CapsLock on when writing the code!
To be fair, you only mentionned the parts that bring your
point across :)
void foo()
{
PALETTE p;
RLE_SPRITE rle;
BITMAP bmp;
RGB c;
...
}
Anyway, I agree that all caps are not very pretty, but I also
happen to think they're just as unpretty in C code. My point
being, if you think it's over the top in C++, you might as well
change the C code types too.
Not that I actually advocate doing that now.
--
Vincent Penquerc'h