![]() |
Change the file extension using C
Hi there,
I am working on a project where I need to change the extension of file using C. For example I want to change a ".dat" file and write it in the form of ".txt" file. Can someone help me with this. I will be very thankful. ,,, |
Re: Change the file extension using C
Moved to C-C++ forum for better response.
|
Re: Change the file extension using C
C doesn't care about file extensions.
Code:
FILE *in = fopen("file.dat","rb"); |
| All times are GMT +5.5. The time now is 18:02. |