Re: [c++win95] Call of Functions OK! + Class/Structs

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 08/30/97

On Sat, 30 Aug 1997, Franco wrote:

-+should be changed, which would mean rewriting quite a bit of stuff. Not
-+to mention that C compilers require the keyword struct in front of struct
-+declaration, and C++ dont.

True, C++ doesn't require it, but it shouldn't mind it, either. So you
can get away with leaving "struct char_data *" instead of changing
everything to (the better looking), "char_data *". Of course, most
people converting to C++ will make char_data a class; but that was just
for the purpose of example.

Daniel Koepke -:- -:-  [Shadowlord/Nether]

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST