Probably as
xcoord = Text;
/* You may want to do:
xcoord[5] = '\0';
so that you don't print the y with the x, but this will change Text as well
*/
ycoord = Text+6;
Type: Posts; User: tabstop
Probably as
xcoord = Text;
/* You may want to do:
xcoord[5] = '\0';
so that you don't print the y with the x, but this will change Text as well
*/
ycoord = Text+6;
You can't store a string as a char variable, because a char variable can only hold one char, not six as needed here.