how do i write files to a specified folder with fwrite and FILE's?
i'm trying to copy one file from the current directory to a folder like C:\test\
and just do it one byte at a time (i'm doing this on purpose, so dont' flame me)
but the thing is, it writes for a couple seconds, then it just crashes.....
but if i try and just write to a plain file (test.txt) instead of the directory one (C:\test\test.txt) it works perfectly......
any way to fix this? example code would be nice
thanks in advance