News for hackers. Stuff that matters.
Re:Relive: 50 years of C, the good, the bad and the ugly by AlexeyBrin on Friday December 30, 2022 @10:56AM (#34186167)
C++ is not a superset of C, there are plenty of legal C constructs that will trigger errors when compiled with a C++ compiler.
Re:Relive: 50 years of C, the good, the bad and the ugly by wiseowise on Friday December 30, 2022 @02:20PM (#34188830)
C++ is a sane defaults superset of C.
Re:Relive: 50 years of C, the good, the bad and the ugly by 3836293648 on Friday December 30, 2022 @02:42PM (#34189096)
C is not a superset of C either. C++ is a superset of a C version, even if they then went on to add stuff that wasn't added to the other
Re:Relive: 50 years of C, the good, the bad and the ugly by kazinator on Friday December 30, 2022 @11:22PM (#34193534)
But most of them are new constructs, not found in the venerable C90.