Hi, I am new to C++.Pls help me out.would really appreciate it.
The problem goes like this.
There are two files. In file1(say data1.txt)u have got something like this
Line2:We are fine
the work is grab each string and assign it with a binary file and enter it in a new file(say data2.bin) and every line must correspond to that line from data1.txt
if the String "Hello" corresponds to "0001" and How as "0002" in line 1 then the line 1 of file in data2.bin should like this
Please help me out.