char * buffer = new char [length];

Version imprimable