I have one file with the following tab separated records with four columns.Now I am trying to convert the file into fixed length binary file. How it is possible. in C++.
rs149915 29103059 A/G +
rs149932 29116347 C/G -
rs149933 29123223 C/G -
rs149934 29084753 C/T -
rs150082 29117038 A/C -
rs150083 29123057 A/T -
rs150084 29122512 C/T -
rs150085 29120374 G/T -
rs150086 29128450 C/T -
rs150087 29142365 A/G -
rs150088 29135120 C/T -
rs150089 29131901 A/G -
File should be converted into binary so that it can be used with seekg and seekp pointers in C++ for retrieving records.
Thanks in advance.
man4ish 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.