I need to read from a file fo this format..Please let me know how to do this..
//each segment seperated by a space
the and m signal the start of a command. I need to put all the elements associated with a particualr command in a vector for processing. There is no limit of how many of these segments are available, but there will be a bland line after the last command set to signal the end of the file.