I wanna do this
Means the prog is terminated in the following input data.Code:char chr[10]; while (scanf("%s", chr) != 'x') { ........... }
the while code doesn't work...... How can I implement this action?Code:0001 1003 0206 0034 1111 1003 x <------ When I input 'x', the program stop