Yes. You can define structs, but C structs are a subset of C++ structs (which are pretty much equivalent to C++ classes).
The good news is that you can mix C and C++, so you do not have to...
Type: Posts; User: laserlight
Yes. You can define structs, but C structs are a subset of C++ structs (which are pretty much equivalent to C++ classes).
The good news is that you can mix C and C++, so you do not have to...
You are writing C++ code, but compiling as C. So it is not a matter of programming for Windows, but trying to pretend that C++ code is C code.