Hello friends,
could you please advice me of how to traslate this program written in C to java?
[LEFT]#include <cstdio>
main( ){
char c;
c = getchar( );
while (c != EOF) {
putchar(c);
c = getchar( );
}[/LEFT]
}
I am supposed to test the difference in time between compiling the C program and the corresponding java program in unix. I would appreciate the help or clues to figure it out. thank you very much for your time