Help with adding strings.

I'm trying to get the position of a screen press and display it on screen. The code is:

          Point m = ts.getPoint(); 
          m.x = map(m.x, TS_MINX, TS_MAXX, 0, 240);
          m.y = map(m.y, TS_MINY, TS_MAXY, 0, 320);
          pinfo = "X:"+m.x+", Y:"+m.y+"Z:"+m.z;
          // we have some minimum pressure we consider 'valid'
          // pressure of 0 means no pressing!
          if (m.z > __PRESURE)

The Error is:

invalid operands of types 'const char*' and 'const char [5]' to binary 'operator+'

pinfo = "X:"+m.x+", Y:"+m.y+"Z:"+m.z;

What do you want to do with that string? Print it? Then do so direct

Serial.print(", Y:");

Get your calculator out. Produce a video of you ADDing strings. Post a link to it here.

It is possible to CONCATENATE strings, but that is rarely necessary.