Search:

Type: Posts; User: cky799

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,985

    sorry about the code tags. and for the data.txt...

    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...
  2. Replies
    10
    Views
    1,985

    thanks for the help guys. ...

    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 :(
  3. Replies
    10
    Views
    1,985

    the program runs, but for some reason it just...

    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...
  4. Replies
    10
    Views
    1,985

    trouble reading a file

    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...
Results 1 to 4 of 4