Hi
I am using c code to convert a binary .DAT file to a ASCII format file.
Code to convert binary character to ascii character is something like below:
memcpy(Asc->ClnCode,Bin->ClnCode,5);
Asc->CustCode[5]='\0';
The problem is if i give the filename of binary file in argument to the executable then it is not able to read the file saying "File not found"
Even though the file is present in the given path.
Eg:
Filename=B_ABCDE_07060304.DAT
If i change the filename to B_ABCDE_.DAT it reads the file properly.
Is there any limitation to filename characters in C
I am using TruboC++ compiler using following command to open the file.
fp = fopen( binfile, "rb");