3 ms·
Almost every C program does `int *c = malloc(sizeof(int) *10)` or similar, which has always been invalid C++.
by tsimionescu 3y ago
Almost every C program does `int *c = malloc(sizeof(int) *10)` or similar, which has always been invalid C++.
- fluoridation 3y agoI believe most compilers have switches to allow this. The real issue you might run into that can't be worked around easily is if the C source uses a C++ keyword as an identifier.
- kragen 3y ago#define new new_