Formating structure
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, i have declared a structre S, which consist of int,float,double,long,char,WORD,DWORD varibles in it.Like structure S there are few other structures.I fill the data into structures by reading binary file m_file.Read((char*)m_s,sizeof(S));where m_s is an object of strucutre S.To validate the data,that is read into the structure object,i want to write the data in the structure object into text file in a formatted way,for that i need to format each and every element of that strucutre and write into the text file,instead is there any tool,that would dump whole data in the structure in a formatted way into a text file.please help me,if there is any ... Thanks in before. James.