Search:

Type: Posts; User: snpnx

Search: Search took 0.01 seconds.

  1. The code in red was an error, I did it with a...

    The code in red was an error, I did it with a while loop before and forgot to take out the decrement.



    Right, you should not access outside of the allocation, I dunno why I didn't see that O_o
  2. @zacs7: why no use of calloc? @MK27: an honest...

    @zacs7: why no use of calloc?

    @MK27: an honest question -- what OS allows "$" in filenames or paths?

    Not a question of the OS, it was just needed since I did go backwards through the String...
  3. extracting a specific part out of a string (errors in my code?)

    Hello guys,

    I have the following task to do:

    given a string (char * buf) in a specific way ("putfile $[path of file]") I want to extract the filename out of the filepath with a function called...
Results 1 to 3 of 3