For some reason it only says the first 3 letters on the oldman char string and goes to the next oneCode:for(;;) { if(gender =='F') { Sleep(2000); system("cls"); //Old man says players gender size=strlen(oldman1); for(x=0;x<size;x++) { Sleep(50); printf("%c",oldman1[x]); } size=strlen(daughter); for(x=0;x<size;x++) { printf("%c",daughter[x]); Sleep(50); } break; } else if(gender =='M') { Sleep(2000); system("cls"); //Old man says players gender size=strlen(oldman1); for(x=0;x<size;x++) { Sleep(50); printf("%c",oldman1[x]); } size=strlen(son); for(x=0;x<size;x++) { printf("%c",son[x]); Sleep(50); } break; } } size=strlen(oldman2); for(x=0;x<size;x++) { Sleep(50); printf("%c",oldman2[x]); }



LinkBack URL
About LinkBacks


