help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

flushing the octave terminal form C++ (oct file)


From: fab_o
Subject: flushing the octave terminal form C++ (oct file)
Date: Fri, 20 May 2011 03:36:03 -0700 (PDT)

Hello,

Is there a way to flush the C++  "octave_stdout" stream  during its
execution from a (C++) oct file  ?
the 'octave_stdout.flush()' doesn't seem to work on my system 
(3.4.0 compiled from source, Ubuntu 10.10)

/begin{code}
int i;
for (i=0;i<100;i++) {
  octave_stdout<<"blabla\n";
  octave_stdout.flush();       // <--should flush the octave terminal ?
}

/end{code}

I get a screen full of "blabla" that requires me to  scroll to the end to
continue my script execution.

Does this problem only appear on my system ?

--
View this message in context: 
http://octave.1599824.n4.nabble.com/flushing-the-octave-terminal-form-C-oct-file-tp3538149p3538149.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]