Search:

Type: Posts; User: Scupham

Search: Search took 0.01 seconds.

  1. Replies
    17
    Views
    2,215

    1.0 should really be there :S Is the fget...

    1.0 should really be there :S



    Is the fget here pulling that first line away then?
  2. Replies
    17
    Views
    2,215

    The original data contains headers for the data....

    The original data contains headers for the data.

    ie: X and Y

    I was under the impression i could use fget to disregard these and start storing the parameters after this. ie 1, 2,3,4,5

    My main...
  3. Replies
    17
    Views
    2,215

    Thanks ill be around for a wee while, I...

    Thanks ill be around for a wee while,

    I thought the whole point of fgets was to disregard the first line and start storing all the values after?
  4. Replies
    17
    Views
    2,215

    Ok added that peice of code to the program, "as...

    Ok added that peice of code to the program, "as it should crash"?

    Any chance of talking on MSN at all? or you prefer over the forum?

    Sorry to be such a pain in the ass.
  5. Replies
    17
    Views
    2,215

    Hmm now the list does not even start to store...

    Hmm now the list does not even start to store values:

    8625

    Any other ideas, It is crashing as soon as the program has read the data.
  6. Replies
    17
    Views
    2,215

    Thanks, tried your suggestions. Now the...

    Thanks, tried your suggestions.

    Now the program crashes, here is the debug.
    Seems like the linked list is not finishing when there is no data left.

    Also the data is not being passed on into...
  7. Replies
    17
    Views
    2,215

    Well that is supposed to tell my linked list...

    Well that is supposed to tell my linked list where the end is, i.e. NULL = end of list.

    So when doing calculations it gets to a ptr where next=NULL and stops.
  8. Replies
    17
    Views
    2,215

    Linked List help

    I am not getting the correct output from my program.
    However i know the problem is to do with me not terminating the linked list correctly in the reading function.

    Yet i have no idea how to fix...
  9. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    Hi thanks for the advice, cannot use 2008 as im...

    Hi thanks for the advice, cannot use 2008 as im in a Uni lab atm. However the program is marked on Vis Basic 6, should should be ok.

    I tried changing the struct etc as you said, but this created...
  10. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    Hey im using Visual Studio 6, im not getting any...

    Hey im using Visual Studio 6, im not getting any errors or warnings.

    For error 4, this program is being marked against different data types ensuring it can read and write. In the specification it...
  11. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    That is my input data into the system.

    That is my input data into the system.
  12. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    ie printing out everything to screen that im...

    ie printing out everything to screen that im looking at from the file and also all the calculations?
  13. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    Ok i now have a working copy :D One problem my...

    Ok i now have a working copy :D

    One problem my output is:

    [QUOTE]Gradient = -1.#IND00
    Constant = -1.#IND00
    [/CODE]

    Some how these are not whole number s:S
  14. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    At home i use Chrome Uni i use IE7

    At home i use Chrome
    Uni i use IE7
  15. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    Oh its just when i copy over into this the...

    Oh its just when i copy over into this the indentations go a miss.

    i could upload a .c file if that would be better.
    I think i need to sit down and look at my linked lists and what there doing
  16. Thread: [C] Debug help

    by Scupham
    Replies
    15
    Views
    4,254

    [C] Debug help

    Ok this is my first time running a debug on a program.

    Im getting this:
    8623

    From what i can tell sumx cannot get the data from the struct measurements.
    Any ideas on how i can fix this?
    ...
  17. Replies
    7
    Views
    1,847

    EDIT: bolded wrong section, actually crashing at...

    EDIT: bolded wrong section, actually crashing at calculating data

    Ok new issues.

    I get the program crashing when i run, it seems to crash when im calculating the line parameters

    ...
  18. Replies
    7
    Views
    1,847

    Ok changed that thanks :D

    Ok changed that thanks :D
  19. Replies
    7
    Views
    1,847

    [C] Compiler error while using functions

    I am getting a compiler error which is preventing me from completing my program.

    If i can get the one error out it should solve all of the others.

    ALL ERRORS ARE IN BOLD SECTION OF CODE
    ...
Results 1 to 19 of 19