what error?
From: nick (ucheng4_at_csc.cuhk.edu.hk)
Date: 02/28/05
- Next message: nick: "how to check?"
- Previous message: Peter Gordon: "Re: cin.get(char *, int, termination char) question"
- Next in thread: Robert W Hand: "Re: what error?"
- Reply: Robert W Hand: "Re: what error?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 19:25:57 +0800
int main(){
int x[2];
x[0]=1;
x[1]=2;
printf("%d\n",x[0]);
printf("%d\n", isdigit(3));
}
why the print out result are
1
0
not
1
1
3 is a digit ,then why isdigit(3) not return 1?
thanks!
- Next message: nick: "how to check?"
- Previous message: Peter Gordon: "Re: cin.get(char *, int, termination char) question"
- Next in thread: Robert W Hand: "Re: what error?"
- Reply: Robert W Hand: "Re: what error?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]