B
Bill Cunningham
Hello I did my homework and came to the conclusion that I thought I
would ask this question to the community. I have this function.
void chunk (char file1[],char file2[],char bytes)
Now what I want this to do is read file1[] and write to file2[] the number
of bytes in the 3rd parameter. The thing is that fopen takes a string
literal as its first parameter. I want to pass char file1[] to fopen. Is
there a conversion function somewhere that would allow me to pass to fopen
char file1[] ? I hope I am making myself clear.
Bill
would ask this question to the community. I have this function.
void chunk (char file1[],char file2[],char bytes)
Now what I want this to do is read file1[] and write to file2[] the number
of bytes in the 3rd parameter. The thing is that fopen takes a string
literal as its first parameter. I want to pass char file1[] to fopen. Is
there a conversion function somewhere that would allow me to pass to fopen
char file1[] ? I hope I am making myself clear.
Bill