<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div>If you have used ofstream to do in-procedure reporting, how did you get it to work?</div><div>I found that it exists here</div><div><a href="http://admb-project.org/documentation/developers/api/keywords.txt">http://admb-project.org/documentation/developers/api/keywords.txt</a></div><div><br></div><div>I tried adding </div><div><div>GLOBALS_SECTION</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ofstream out_stream;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>out_stream.open("/scratch/ufhpc/mbrooks/trial.txt");</div></div><div><br></div><div>But I got these errors that point to the relevant lines of the cpp file:</div><div><div>admbponds_measurment_trial.cpp:1: error: ‘ofstream’ does not name a type</div><div>admbponds_measurment_trial.cpp:2: error: expected constructor, destructor, or type conversion before ‘.’ token</div><div>admbponds_measurment_trial.cpp: In member function ‘virtual void model_parameters::userfunction()’:</div><div>admbponds_measurment_trial.cpp:127: error: ‘out_stream’ was not declared in this scope</div><div><br></div><div>Also, is there a way to search the history of this mailing list? Sorry if this question has already been covered.</div><div>thanks,</div><div>Mollie</div><div><br></div><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-size: 12px; ">Mollie Brooks</div><div style="font-size: 12px; ">Ph.D. Candidate</div><div style="font-size: 12px; ">NSF IGERT Fellow</div><div style="font-size: 12px; ">Biology Department</div><div style="font-size: 12px; ">University of Florida</div><div style="font-size: 12px; "><a href="mailto:mbrooks@ufl.edu">mbrooks@ufl.edu</a></div><div style="font-size: 12px; "><a href="http://www.zoology.ufl.edu/mbrooks">www.zoology.ufl.edu/mbrooks</a></div><div style="font-size: 12px; "><br></div></div></div><br class="Apple-interchange-newline"> </div><br></div></body></html>