3 ms·
Prefixes: yes Allocations: make _alloc() and _free() functions for ADTs. Use Valgrind. IDEs: pretty much anything from ed(1) upwards will be fine. Modern C:
by __d 3y ago
Prefixes: yes
Allocations: make _alloc() and _free() functions for ADTs. Use Valgrind.
IDEs: pretty much anything from ed(1) upwards will be fine.
Modern C: just don't. There's very little in "modern" C that's actually good.
Errors: return a pointer or an int. 0 = success. If you need more info, pass an error struct pointer as the last parameter, and fill it in if it's not NULL.
Tools: compiler warnings (you should be clean with pedantic), valgrind