Thanks for the replies everyone, i think the issues I was having were caused by the example code, I stripped out everything I didn't need and now it works.
For anyone interested here is an example...
Type: Posts; User: rob_l_f
Thanks for the replies everyone, i think the issues I was having were caused by the example code, I stripped out everything I didn't need and now it works.
For anyone interested here is an example...
Thanks for the reply CornedBeef, unfortunatley this hasn't solved the problem. I have managed to stop the glibc error by using std::endl instead of \n, but it is simply replaced with a seg fault. ...
Hi,
I'm trying to grab all the input sent to cout to modify and redirect it. I used the example from http://www.dreamincode.net/code/snippet2499.htm, which works fine using the following code:
...