Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
void read(ifstream& fin)
{
string x,y;
while(getline(fin,x,'='))
{
getline(fin,y,'/n');
set(x,y);
}
}
void set(string a,string b)
{
//make system call to set your variables
}
varible=something
varible2=anotherthing
<book>
<title>The Tale of Two cities</title>
<author>Charlie-Boy Dikens</author>
<chaper number="1">
It was the best of times it was the worst of times...
</chapter>
...
</book>
char ch;
string s;
fin >> x;
if(x == '<')
{
getline(fin,s,'>'0;
//do the rest
}
else cerr<< "Not a valid XML doc."<<endl;
...