PDA

View Full Version : regarding conersion of data of 1file to another



ndv472
24th December 2013, 06:45
sir
i want to code a c code .
but i was not able to find out the solution,i was struc at some point.
the problem statement is
i want to convert data of one to file to another format.
given file data is in the binary format and i want to convert it into decimal form.
so i am having a problem that how to select that data from begining to end and also also line by line conversion..
suppose given file is
00
01
10
11
and ans or output file should be like
0
1
2
3
nikhilvaidya472@gmail.com

anda_skoa
24th December 2013, 14:01
When you write binary format, do you mean that it is a binary file as opposed to a text file, or that it is a text file and that the text is numbers in binary notation?

Cheers,
_