- Code compiles with c++ and the flags -Wall -Wextra -Werror -std=c++98
- no
*printf(),*alloc(),free() - no implementation of a function in a header ( except templates )
- include guards obligatory ( no double inclusion )
- headers can be used independently
- not using
using namespace, nofriendkeyword - not STL ( Containers / Algorithms ) - only allowed in modules 08 and 09
- classes in
UpperCamelCase, files named after the class - each output on
stdoutmust end by a\n - no memory leaks (
new->delete) - Orthodox Canonical Form à partir du module 02
- Makefile:
all clean fclean re, no relinking