When am i going to learn this....
I am trying to add one and one char to a char array. And then print it out using TextOut(...). But I have problems trying to add them. I tried using sprintf, but it adds a " " char in start and **** up everything if I do it like this.
Code://cText is a double array [20][256] //and teksten is just a single char. sprintf(cText[iAntTekst], "%c%c", cText[iAntTekst], teksten);
Anyone know how to fix this. There is one things I hate in C++ and that is strings....never handeled them very well...![]()




Reply With Quote