answersLogoWhite

0

You don't need a typedef to declare a struct in C++. A struct is declared exactly the same way that you would declare a class, the only difference being that struct members are public by default, while class members are private by default. Aside from that the class and struct keywords are completely interchangeable.

User Avatar

Wiki User

11y ago

What else can I help you with?