Search:

Type: Posts; User: navitude

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,253

    ******** Edit *********** Solved: Your right...

    ******** Edit ***********

    Solved: Your right about the strtok(). It will create an error. But the seg.. fault that I'm currently dealing with does come from the way I calling the storage variable....
  2. Replies
    4
    Views
    2,253

    thanks, Thanks! I found the error for the...

    thanks,

    Thanks! I found the error for the fault is, line 8 in the sample code I gave above.

    I think I see a couple of problems. First is a logic error, I am trying to take the whole string...
  3. Replies
    4
    Views
    2,253

    Segmentation fault, cannot find problem

    I have a file with a single string of 150 characters. The string consists of combinations that either refers to room dimensions, door placement or item placement for a rogue game.

    I have...
  4. Replies
    3
    Views
    2,077

    Having difficulty understanding strtok()

    I am using strtok() for the first time to tokenize a string from a file. From checking, I can sucessfully open then file and read the whole string from the file and input it into a string variable.
    ...
Results 1 to 4 of 4