|
|
|
|
|
by dundarious
618 days ago
|
|
There are pretty fundamental differences in key areas, like zero initialization of a struct or array (`{0}` vs `{}`). Use the C way in C++ and you only 0 the first element or member. Use the C++ way in C and you don't 0 anything. IMO there's no point even attempting a blind recompile of C as C++. A transpiler tool would be needed. |
|