Binary to Ascii Conversion
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:
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.
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");