Gang's Tech Stuff

Posts Tagged ‘stdout

“stdout” flushes the data to be printed to standard output device only after getting an new line character. If it wont get a new line character, it waits until the program ends, then it flushes the data.

Ex:

Code:

#include<stdio.h>

int main()

{

    fprintf(stdout,”hello-out1 \n”);

    fprintf(stdout,”hello-out2 “);

    fprintf(stderr,”hello-err “);

    return 0;

}

 

Output:

    hello-out1

    hello-err hello-out2



  • Rami Reddy: check whether are you dissable windows firewall or not, if enables windows firewall then you have to dissable then you can access clearcase
  • Henri Hein: Nice tip!
  • Lance Elot: Can you tell me a way by which I can store current time in a text file(file.txt) & then execute a command exactly in one hour(or any specified tim

Categories