Subj : Re: Random Integer Solutions...Help Please... To : borland.public.cpp.borlandcpp From : Jeremy Pham Date : Sun Jun 27 2004 04:46 pm Hey Ed, I did a little revisions on my program. It seems that it doesn't like sscanf so... #include main() { int a; char buffer[133]; printf("Input the number of integers you will input,\nand I will tell you the smallest of the group: "); scanf("%d", &a); fgets(buffer, sizeof(buffer), stdin); scanf("%d", &a); for ( ;a > 0; --a); printf("The smallest number is %d\n", &buffer); getchar(); printf("Press enter..."); getchar(); return 0; } I inputted exactly what you've told me so far, however the result program is that it doesn't print the smallest number after input, but rather does nothing. Are my int's wrong? Is this sequence incorrect? Appreciate the help Ed, Jeremy Pham .