News for hackers. Stuff that matters.
Re:To become a good C programmer (2011) by hazeii on Friday February 14, 2020 @04:27PM (#22330569)
Really? No longer an MS user but occasionally my code gets ported to Windows so would like to know more.
Re:To become a good C programmer (2011) by dfox on Friday February 14, 2020 @04:42PM (#22330696)
MSVC in C mode is essentially C89 plus extensions needed to compile C++/C99-isms present in Windows SDK and DDK headers. And Microsoft seems to be mostly interested in whether the compiler is able to build NT kernel and drivers and nothing much else.
Re:To become a good C programmer (2011) by nwellnhof on Saturday February 15, 2020 @03:25PM (#22337727)
That's not true for quite some time. Visual Studio 2013 added many C99 features that aren't in C++ like compound literals or designated initializers.
Re:To become a good C programmer (2011) by flohofwoe on Saturday February 15, 2020 @07:12AM (#22334766)
The only notable C99 features not supported on the MSVC C compiler are: (a) VLAs, and (b) type-generic macros. The distinction between the MSVC C and C++ compiler is important though. The MSVC C++ compiler doesn't support any C99 features.