Trying to make a program that takes an existing file, creates a new one complying with POSIX standards (so you can create it in uppercase [this is on NTFS] - yes there is a difference - windows won't let you do it, it will ask if you want to overwrite), and then copies the data of the source file into the destination (new) file.
But forget all the POSIX stuff, i can't even get this thing to copy over the file at all. When i execute the code, i get my new file, but its 0 bytes. What am i doing wrong???
SOURCE CODE:
But forget all the POSIX stuff, i can't even get this thing to copy over the file at all. When i execute the code, i get my new file, but its 0 bytes. What am i doing wrong???
SOURCE CODE: