Hello everyone,
I am writing some programs in GFortran for educational purposes. For some programs, the input files have a lot of data and I like to mark them with comments using special symbols for ex., "#"
Can any one suggest me a way to make the program ignore the comment line which is followed by the special symbol?
For example,
#Matrix size ---comment line-----
3
#Number of rotations ---comment line-----
10
#Matrix elements ---comment line-----
1 1 1
1 1 1
1 1 1
Thanx in advance,
Raghu.
I am writing some programs in GFortran for educational purposes. For some programs, the input files have a lot of data and I like to mark them with comments using special symbols for ex., "#"
Can any one suggest me a way to make the program ignore the comment line which is followed by the special symbol?
For example,
#Matrix size ---comment line-----
3
#Number of rotations ---comment line-----
10
#Matrix elements ---comment line-----
1 1 1
1 1 1
1 1 1
Thanx in advance,
Raghu.