I have a file it has several lines like this (< Readme >)
I need to remove the white spaces and < , > and put readme stirng
in a string .The problem is I do not know how many chars are there in every line.
Thank you
Code:# include<string> # include<iostream> # include<fstream> using namespace std; void read (); int main() { read(); return 0; } void read() { fstream is; is.open("test"); string st1; char ch; char ch1='<'; char ch2='>'; while(is.get(ch) != EOF) }