------------------------
#include <pfstream.h>
main() {
opfstream foo("|more", ios::out );
char bar[4][10] = {"one", "two", "three", "four"};
for ( int i = 0; i < 4; i ++ ) {
foo << bar[i] << endl;
}
}
-------------------------
And nothing but the newlines come out. I have tried also numbers, and other
programs, like "cat", and "sort", and no joy. popen does not give the same
problem; indeed, it works.
I am running gcc on a SGI, Irix 4.0.1.
Any idea?
JJ
--
JJ Merelo
Grupo Geneura ---- Univ. Granada