#C coding standard?

1 messages · Page 1 of 1 (latest)

split merlin
#

Does anyone know of a C standard that I can follow for my project? Like how should the naming conventions be, etc.

edgy boltBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

old flint
#

I mean, there are a million coding standards you could follow

#

If you feel a need to follow a standard someone has written out, I'd just look at the first few results on google and pick the one you like

split merlin
#

Do you know what's the naming convention for naming structs?

old flint
#

Kernel code is pretty ugly

slim compass
#

just pick one

old blade
#

Pitchfork layout is good enough

#

If you have just a single header or a single heder and source file it's better to have it all in the root folder

proper narwhal
#

Kernel code doesn't typedef structs, that's one major difference to many coding conventions out there.

edgy boltBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.