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
Type: Posts; User: snpnx
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
@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...
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...