-
Cela...
thank you so much
that code works, except, for a large integer....the code changes it this is what my output looked like:
Code:
[root@CPE0010b53e159e-CM root]# gcc getData.c
[root@CPE0010b53e159e-CM root]# ./a.out
Please Enter in a positive number, then hit ENTER
saf
invalid integer, try again: 32
32 is the number you have entered
[root@CPE0010b53e159e-CM root]# ./a.out
Please Enter in a positive number, then hit ENTER
43243143076434387
2147483647 is the number you have entered
[root@CPE0010b53e159e-CM root]#
see, it changed it, I would like a large integer error to come up instead, then ask again.:o
-
Please keep your questions about one problem to the same thread, m'kay?