#include #include #include #include #include using namespace std; void clean(ifstream &in, ofstream &out){ string line, *s, *vars; char *val; unsigned i=0, j=0, c=0; getline(in, line); vars= new string[line.length()]; val= new char[line.length()]; while (i < line.length()){ s=new(string); while((i < line.length()) && (line[i]!='=')){ *s+=line[i++]; } vars[c]+=*s; i++; // skip = val[c++]=line[i++]; i++; //skip whitespace delete(s); }; out << line << endl < 9) && !(line.substr(0,9).compare("Invariant"))){ out< "<