Btw, thank you to all that helps. I really appreciate it...:D
Posted on 2010-03-14 21:26:46 by LuffyPSP

I think you're unfair to scanf. It honestly returns the number of input items assigned, so if scanf("%u", &number) == 0 then you can be sure that input doesn't start with / *[0-9]+/. A scanf-based input function that doesn't check and/or indicate failure is the one to blame.
Posted on 2010-03-15 01:13:47 by baldr
You may be right. In my directory, I see "array1.asm", linked against the special driver "array1c.c" does seem to work properly. I assume that's Dr. Carter's work - doesn't seem to be aimed at beginners. He could/should have included that routine in "read_int", perhaps.

But this topic is about "irvine32.lib" which apparently doesn't have a problem. I probably shouldn't have brought it up here.


Posted on 2010-03-15 02:14:05 by fbkotler