C
C
- Subject: C
- From: Michael Kozerew <email@hidden>
- Date: Sat, 30 Aug 2003 00:32:39 +0600
hi, i`am learning C, and i has faced a problem
int main()
{
int temp[31];
int index, total;
index = 0;
do
{
printf("temp #%d, \
to quit type 555: ", index);
scanf("%d", &temp[index]);
}
while (index < 31 && temps[index-1] != 555);
}
maybe someone say what i do wrong(why the cycle does not stop on 555,
and values are not remembered )?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
- Follow-Ups:
- Re: C
- From: David Thorp <email@hidden>
- Re: C
- From: Neil Earnshaw <email@hidden>
- Re: C
- From: Dave Rosborough <email@hidden>
- Re: C
- From: Andrew Pinski <email@hidden>