2 ms·
I don't think there's an agreed-upon standard. There's a couple of 'conventions' to avoid collisions between types and names, one would be PascalCase for types
by flohofwoe 3y ago
I don't think there's an agreed-upon standard.
There's a couple of 'conventions' to avoid collisions between types and names, one would be PascalCase for types and camelCase for anything else, another is using snake_case for both, but use the _t postfix for types (which is a bit shunned upon because the _t postfix is reserved by POSIX - but not the C standard).
- kramerger 3y agoNo, not an standard. But most large C projects seem to use snake case while most C++ projects use Java-case (which OP calls pacal+camel case)