RE: Need help in C ( Detect char) 03-16-2013, 09:05 PM
#2
Read a char instead of int:
Code:
char ch;
//...
scanf(" %c", &ch);
if(ch == '1') {
//...I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.
Expressed feelings are just an attempt to simulate humans.
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)