Hi,
I need to write a program that can read words from an input file. These words need to be stored in a vector "character species(200,20)". The max number of words is 200, the max length is 20 of each word is 20.
The words can be on the same line (separated by blanks) or in different lines or a combination of both, eg;
h2o c2h2 c2h4
h2 h
ch4
ch3 ch2 c2h3
I need to write a program that can read words from an input file. These words need to be stored in a vector "character species(200,20)". The max number of words is 200, the max length is 20 of each word is 20.
The words can be on the same line (separated by blanks) or in different lines or a combination of both, eg;
h2o c2h2 c2h4
h2 h
ch4
ch3 ch2 c2h3