#####Personal C Library
#####Grade (102/100)
(102/108)*
As very few libC's and functions are allowed in school's projects, this library regroups all kinds
of useful functions `prefixed by ft` that i will be reuse in my C projects.
~50 specific functions were required for the project itelf, but i frequently update it with new functions (~125 now).
- Most
<ctype.h>
functions. (Summer 2014) - Most
<string.h>
functions. (Summer 2014) printf
function. (Fall 2014)std::list like
functions. (Summer 2015)std::vector like
functions. (Summer 2015)std::map like
functions (implemented as an AVL). Also works as anstd::set
. (Summer 2015)std::string like
functions. (Spring 2016)std::string_view like
functions. (Spring 2016)
std::filesystem::path like
functions.rolling hash
functionsstd::unordered_map like
functions.std::forward_list like
functionsstd::deque like
functions
All my C files strictly observes school's norm, it may often lead to odd or illogical syntaxes.
- [ ] Forbiden keywords: for, do, switch, goto.
- [ ] No more than 25 lines inside a function block.
- [ ] No more than 80 characters per lines.
- [ ] At most 5 functions per files.
- [ ] Only 1 declaration per line.
- [ ] No declaration and assignation on the same line.
- [ ] At most 1 assignation per line.
- [ ] No more than 4 parameters for a function.
- [ ] No nested ternary.
- [ ] Comments only alowed between functions.
- [ ] Indentation with length 4 tabs.
*
- A grade of 85 was required to validate the project.
- A maximum grade of 108 was reachable.
- Second sessions are organised for failed projects.