Added include for stdlib.h to get size_t defined
Added extra newline at end of file.
Added an example CPP for listing roles.