<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div><span><span>Hello, I have a doubt, can I define a vector of ex?</span></span></div><div><span><span>when I run the program throws an error of segmentation fault<br></span></span></div><div><span><span>thanks<br></span></span></div><div><span><span><br></span></span></div><div><span><span><br></span></span></div><div><span><span>vector<ex> e;</span><br></span></div><div><span><br></span></div><div><span><span>symtab table;<br>table ["r"]=r; <br>parser reader(table);</span><br></span></div><div><span>for(int i=0;i<100;i++)</span></div><span>{<br> e[i]=reader(formula[i].getFormula());<br>}</span><br><div></div></div></div></body></html>