i try to create a file : fopen(test,"w+");
the filename is to be the current date, i tried to realize this like:
ctime returns a value with 26 letters like "Sat Feb 17 19:31:26 1996\n\0".Quote:
char *test = ctime(&t);
And now i try to delete the \n\0 because of this the filename of the created file is the date with a "?" at the end but i dont know how i can fix this.