?
2011-08-31 15:12:47 UTC
strcmp() will not work for here because it needs to be a const char.
It uses SDL but I don't think that has anything to do with the problem.
void pstr(const char str[], int x, int y, SDL_Surface* scr, SDL_Surface* chars){
int i;
int len = sizeof(str);
do{
if(str[i]=='a'){pchar(0,0,x+(i*8),y,scr,chars);};
//...
//... This here is just similar to the line above.
//...
}while(i
I'm building it with g++ if that makes any difference.