Search:

Type: Posts; User: zac_haryy

Search: Search took 0.01 seconds.

  1. So would a while loop be eligable in this...

    So would a while loop be eligable in this situation?
  2. I could make a while loop until it would reach...

    I could make a while loop until it would reach the end of the file but I still get this error:
    error C2446: '!=' : no conversion from 'int' to 'char *'
    error C2040: '!=' : 'char *' differs in...
  3. I am still having trouble with this. I dont...

    I am still having trouble with this. I dont understand the errors that I am getting. I would like to try to make a for loop so that I can scan the file in until the end of the file, but I get errors...
  4. Well I cant get it to go with a multi-dimension...

    Well I cant get it to go with a multi-dimension array and I think that it may be easier 2 seperate arrays (maybe...). Anyways here is what I am trying and I am still getting this error:
    Homework 7...
  5. I got the fgets part to copy the first string...

    I got the fgets part to copy the first string into a buff array but i am not exactly sure how to use the sscanf function.

    This is what I have, but I need to get it to store it to the arrays days. ...
  6. How do I get rid of this error though?? error...

    How do I get rid of this error though??

    error C2664: 'fgets' : cannot convert parameter 1 from 'int [40][8]' to 'char *'
  7. Creating a multi-dimension array with file input

    I have to make this program for a computer programming class and we are given a file to input. The file input looks like this:

    Nevada, IA
    February, 2000
    2 0.1
    4 0.4
    28 0
    29 0.01
    30 0.01
    9 0
  8. Thanks for the help!! I am going to take a look...

    Thanks for the help!! I am going to take a look at this tomorrow.
  9. fgets and arrays are the two that I have not...

    fgets and arrays are the two that I have not learned yet.
  10. maxorator: I would do something like this but we...

    maxorator: I would do something like this but we haven't learned any of this.
    jafet : We have not learned anything about arrays either.

    So I am not sure what to do next. Have gotten some...
  11. I have came up with this code but everything...

    I have came up with this code but everything prints out backwards. EX. I input 123 and it will output three, two, one. How do I fix this part?

    Here is what I have so far:



    #include...
  12. So how do I make the actual conversion from...

    So how do I make the actual conversion from number to text?
  13. Problem starting a homework problem for class. Please help!

    Well I have started writing a code to create this program that i have to have done by tommorow but i am stuck at the moment. Anybody please help!!

    Here is the problem:

    Write a prgram that...
Results 1 to 13 of 13