I want to use something like cin or getchar, without the buffer. I've read its not possible, i'm using linux...
I want to use something like cin or getchar, without the buffer. I've read its not possible, i'm using linux...
It's possible, but it's not portable unless you use a library.
i should have said, "... and portable" , so no, its not possible unless i use conio.h or something like that. I thought there was some 'unbuffer' parameter for iostream of stdio
conio.h is not portable, but yeah...... I think ncurses supports this.