could be char content[1+size] to avoid the new/delete, but wait... it's a GNU extension, so forget about it