I am using a redhat linux machine...I tried the
pattern_file.getline ( pattern, 50 );
statement, but it gave a compile error:
invalid operands of types '{unknown type}' and 'int' to binary...
Type: Posts; User: newbie
I am using a redhat linux machine...I tried the
pattern_file.getline ( pattern, 50 );
statement, but it gave a compile error:
invalid operands of types '{unknown type}' and 'int' to binary...
I am trying to input a group of words from a text file. I can only get the first word and it ignores the rest...what is the problem?
My input file is called "patterns.txt". As an example, lets say...