sorry about the code tags.
and for the data.txt file that it reads these are the numbers in the file:
0123123232020
0234234345025
34563456565010
456745677105
5678678757525
i also attatched the...
Type: Posts; User: cky799
sorry about the code tags.
and for the data.txt file that it reads these are the numbers in the file:
0123123232020
0234234345025
34563456565010
456745677105
5678678757525
i also attatched the...
thanks for the help guys.
>fscanf(Fp1,"%d",&x[i]");
that was just a typo
as far as everthing else goes. It is still printing the same value for all the categories :(
the program runs, but for some reason it just prints the first number in the text file i am reading from in every field. it seems to me like it is not reading the whole file and just reading the...
hey,
I am having a lot of trouble trying to get this program to work. It is supposed to read integers from a file and place them into the categories for inventory. I think the problem is that...