Hi C Gurus, Its been long time since I programmed in C. I almost forgot everything. Please help me writing the code. Here is what I need. I have a file with the following format :
Title Col1 Col2 Col3 Col4
Row1 X X
Row2 X X X
Row3 X X X
This is a comma delimited file. Now I want to convert it into another format as follows :
Col1, Row2
Col1, Row3
Col2, Row1
Col2, Row3
Col3, Row2
Col4, Row1
Col4, Row2
COl4, Row3
Please help me. Thanks in advance. FYI. I am using C++ on AIX.
Ab
Title Col1 Col2 Col3 Col4
Row1 X X
Row2 X X X
Row3 X X X
This is a comma delimited file. Now I want to convert it into another format as follows :
Col1, Row2
Col1, Row3
Col2, Row1
Col2, Row3
Col3, Row2
Col4, Row1
Col4, Row2
COl4, Row3
Please help me. Thanks in advance. FYI. I am using C++ on AIX.
Ab