Search:

Type: Posts; User: djwicks

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,141

    Seg Fault -- Plz Help Quick

    i get a stupid seg fault when i try to open/read a file. all works well if the file == NULL and an error has to be printed, but it either just continuly loops or seg faults if the file is a good one....
  2. Replies
    4
    Views
    2,387

    ok thanx, ill put some effort in over the weekend...

    ok thanx, ill put some effort in over the weekend and see where i get. :)
  3. Replies
    8
    Views
    1,368

    the funny y's are the empty spaces in the array....

    the funny y's are the empty spaces in the array. however this problem occurs because he is unable to find the end of file marker and set it to true to break the while loop.

    HELP
  4. Replies
    8
    Views
    1,368

    what ck1 is getting at is what he is reading in...

    what ck1 is getting at is what he is reading in is the following in a file:

    123 Fake St Fakeville 3092
    Flat 234 / 234 Greg Rd Melbit 2309[possibly space space space]...
  5. Replies
    4
    Views
    2,387

    so should i move the single string read in of...

    so should i move the single string read in of "Heidelberg" into a temp string like FooString in ur example, then compare like u have done above quantim1024?

    im a little unsure what result
    if (...
  6. Replies
    4
    Views
    2,387

    Help Writing My Own String Compare

    what i want to do is to write my own string compare function because the built in doesnt work properly for me.

    my two strings are:

    char street_name[MAX][STR_MAX]
    char...
  7. Replies
    11
    Views
    7,557

    thats great but i want to read from the input. so...

    thats great but i want to read from the input. so fgetc would clearly not work. right? anyway i must read it in as a whole line from the user input because it says i must.

    how would this code work...
  8. Replies
    11
    Views
    7,557

    ok so i think ill use getch(). now if i were to...

    ok so i think ill use getch(). now if i were to read in this line of input:

    "123 Fake St Melbourne 3000"

    how would i do it and allow the user to see what they r typing at the same...
  9. Replies
    11
    Views
    7,557

    What Would You Use To Read User Input?

    basically i have a struct with some various char arrays and ints. i have already used these throughout the program when reading from a file so i dont really want to change these.

    anyway i ask the...
  10. Replies
    4
    Views
    3,910

    ok thanx for the help quzah

    ok thanx for the help quzah
  11. Replies
    4
    Views
    3,910

    yes, it seems i must make my own string compare...

    yes, it seems i must make my own string compare to do this. as it would be just 'to simple' to just call one built in function.

    thanx once again quzah.
  12. Replies
    4
    Views
    3,910

    String Compare Using Dynamic Arrays

    what i want to do is to compare the current read in string 'street_name' which has a single name then compares then reads a new name. And a previously read in string array in 'comp_street_name' which...
  13. Replies
    6
    Views
    4,078

    ok thanks again for ur help

    ok thanks again for ur help
  14. Replies
    31
    Views
    3,782

    regretfully, i think a lot of people missed my...

    regretfully, i think a lot of people missed my joke on the whole "HINT: u have a char c, so use it". apologees to anyone who thought i was serious about that. i just thought it was funny the way...
  15. Replies
    0
    Views
    854

    Struct Destination Passing

    ok what im trying to do is to combine 3 bits of code that are exactly the same except for what the read in character is passed into.

    firstly i read in from the file to a temp 'z', then do some...
  16. Replies
    0
    Views
    846

    Struct Destination Passing

    ok what im trying to do is to combine 3 bits of code that are exactly the same except for what the read in character is passed into.

    firstly i read in from the file to a temp 'z', then do some...
  17. Replies
    31
    Views
    3,782

    hehe

    hahahahahahahhahaha, suttle, but still nasty as ever. :p
  18. Replies
    6
    Views
    4,078

    Got Another One For Passing Parameters

    ok what im trying to do is to combine 3 bits of code that are exactly the same except for what the read in character is passed into.

    firstly i read in from the file to a temp 'z', then do some...
  19. Replies
    6
    Views
    4,078

    great thanks swoopy, ive fixed it now.

    great thanks swoopy, ive fixed it now.
  20. Replies
    7
    Views
    1,476

    thanx everyone, i've worked it out now. :)

    thanx everyone, i've worked it out now. :)
  21. Replies
    6
    Views
    4,078

    Scope And Parameter Passing

    essentially what im trying to do is to use one print-to-file function in two different ways. i have a print-to-error-file and a print-to-correct-file after i check some user input and i want to...
  22. Replies
    7
    Views
    1,476

    DONT WORRY EVERYONE, thanx to 0rion for his help...

    DONT WORRY EVERYONE, thanx to 0rion for his help in scoping. i got it. thanx so much
  23. Replies
    7
    Views
    1,476

    errrr, what more can i write? i want to pass in...

    errrr, what more can i write? i want to pass in the global counter (st_name) to the function and plus one everytime i read a new line (the outside for loop) - count++. then once i have found the end...
  24. Replies
    7
    Views
    1,476

    Passing My Counters

    ok im still going on my "read from many files in one function" but with another annoying problem (arent they all annoying!). anyway what i want to do is to read in a word, then increment my passed in...
  25. Replies
    12
    Views
    2,150

    THANKYOU so much, everybody who has cared enough...

    THANKYOU so much, everybody who has cared enough to help.

    :) :) :) :) :)
Results 1 to 25 of 32
Page 1 of 2 1 2