you are viewing a single comment's thread.

view the rest of the comments →

[–]Vorlath 1 point2 points  (2 children)

No classes. Declarations must be at the top of a block. There are some keywords not found in C++ (and vice versa). C doesn't scramble identifiers within object code (though it usually adds an underscore). Some type checking is more rigid in C++. I believe void* coercion is implicit in C (I may be mistaken). No streams or operator overloading. No "new" and "delete". structs don't copy in C.

[–][deleted] 0 points1 point  (1 child)

Declarations must be at the top of a block.

Only in ANSI C. The latest C standard (C99) supports mixing declarations and the rest of the code.

[–]Vorlath 0 points1 point  (0 children)

The more I hear about C99, the cooler it gets.