No memdup()? No memcat()? No prob.
- Simple C/C++ program and new memdup() and memcat() functions.
- C macros (spanning lines with backslash) to create 'lenient' aliases.
- Type casting in C/C++ to override sometimes overly strict syntax checks.
Anyone that has used strdup() or strcat() knows how convenient those are. But when it comes to memory allocation and reallocation for other kinds of data the lack of simple standard mechanisms for this often leads to duplicated...