|
|
|
|
|
by schmidt_fifty
750 days ago
|
|
The detail missing from this explanation is that structs and classes are the same thing with different default visibility. I found this enormously confusing when learning the language, and I think it was a major mistake. My assumption was that a struct was exactly the same as a c struct, and the "new" functionality was all a part of the classes. Still. There's always extern "c". |
|