Dear friends:
I get different resutls when copy my code from windows to linux system.
the string comparion " if( keyword==Key[0] ) " is true in window system, but it is false in linux system. I am really confused about this.I copy the same source code and the same input file from window to linux system.I use vs2008 in windows 7, and g++ in open suse linux 11.4.
Could you please give me some information about that.
Key[0]="NODAL COORDINATES";
Key[1]="ELEMENT GROUPS";
Key[2]="ENTITY NAME: GEOM ";
while( !infile.eof() )
{ getline(infile,keyword,'\n'); // '\n' is a end
if( keyword==Key[0] )
{
// read the points coordinates
} }