I have this code here to print centered text:
const std::string a= "testddfvdfv dfvdf v"; const CHAR *c = a.c_str(); const RECT b[4] = {x1,y1,x2,y2}