3 ms·
This is exactly how I've learned to create my first Windows programs about 30 years ago, except that I'd use a C++ compiler. I am not sure why but I believe wr
by tomtomtom777 1y ago
This is exactly how I've learned to create my first Windows programs about 30 years ago, except that I'd use a C++ compiler.
I am not sure why but I believe writing C style code with a C++ compiler was how the windows API was documented to be used. I think Microsoft just went with the idea that C++ was an improved superset of C so should be used even for C-style code.
- cesarb 1y ago> I think Microsoft just went with the idea that C++ was an improved superset of C so should be used even for C-style code. And as a consequence, for a long time their official C compiler was stuck on C89, while other platforms already had full C99 support and beyond. I believe their support for newer C standards has gotten better since then, but AFAIK they still don't have full C99 support.