printf("Enter number <0-5> : \n");
printf("Insert string <bigger than the number above> : ");
so when i run the script it doesn't pause so i can enter my string, he skips the func "gets(string)", but when i remove the "scanf("%d",&n)" the "gets(string)" workes fine
any suggestions or comments?
Edited 27-Dec-12 21:02pm
None of those functions "cancels" anything. Execute this code under the debugger; and you will clearly see what goes on.—SA
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)