Search:

Type: Posts; User: Sebastiani

Search: Search took 0.06 seconds.

  1. >> storm[g].name is my destination within my...

    >> storm[g].name is my destination within my struct, but my source is an input file, so that makes me think my second argument is wrong.

    I can't see the declaration for 'name' so it's not clear,...
  2. >> yeah...im still having some trouble with this...

    >> yeah...im still having some trouble with this strcpy. I guess I need to do some more reading on how to use it, and then figure how to implement it with the struct...

    Take a look at this link...
  3. >> Am I shaking the right trees with this one? ...

    >> Am I shaking the right trees with this one?

    I'm guessing you didn't look up the documentation for strcpy, then, correct? That should always be the first step before attempting to use a...
  4. Do I hear an echo in here? :p

    Do I hear an echo in here? :p
  5. >> fscanf((fp2,"%s %i %i %f", &name, &lattitude,...

    >> fscanf((fp2,"%s %i %i %f", &name, &lattitude, &longitude,&force) != EOF);

    The syntax is wrong, there. The stuff in the first set of parenthesis gets passed to fscanf, and then you should test...
Results 1 to 5 of 5