fortran95 - Formatting a text file into a columns and rows in Fortran 95 -


i having difficulty finding way organize text file columns , rows in fortran. want able read text file , organize data formatted rows , columns.

for example, if read text file:

fruit, vegetables, meat, cereal

apple, broccoli, steak, corn flakes

orange, carrot, sausage, cheerios

and have program output like

fruit | vegetables | meat   | cereal apple | broccoli   | steak  | corn flakes orange| carrot     | sausage| cheerios 


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -