For c header files i use include guards like
#ifndef HEADER_H
#define HEADER_H
...
#endif
HEADER_H is typically the corresponding header filename in uppercase.
Sometimes I have some software module with numbers. In that case the upperCase implementation does not work, because i get blanks then:
e.g. for header1.h i would get:
#ifndef HEADER 1_H
which will not work. I'd like to have an option to just get the characters uppercase without separation of words.
Currently as a workaround i use upperSnakeCase, but then i get HEADER_1_H (However I'd prefer HEADER1_H)
For c header files i use include guards like
#ifndef HEADER_H
#define HEADER_H
...
#endif
HEADER_H is typically the corresponding header filename in uppercase.
Sometimes I have some software module with numbers. In that case the upperCase implementation does not work, because i get blanks then:
e.g. for header1.h i would get:
#ifndef HEADER 1_H
which will not work. I'd like to have an option to just get the characters uppercase without separation of words.
Currently as a workaround i use upperSnakeCase, but then i get HEADER_1_H (However I'd prefer HEADER1_H)