C: printf not work

dartvaneri
2012-07-12
2013-07-16
  • dartvaneri
    dartvaneri
    2012-07-12

    Hey!
    I downloaded the Dev-c++ compiler. Then i created file, named test.c. I used
    complier, it worked good, but when i clicked "run", .exe file to started,
    print to display next text: "Continue, press any key...". So, it what i want
    print, wasn't printed, where is error?

    Code:

    #include <stdio.h>
    
    int main(void) {
        /* print text to display */
        printf("Hello World!\n");
        system("PAUSE");
        return 0;
    }
    

    Ps. I regret the my bad English skill

     
  • Endre
    Endre
    2012-08-14

    Hi

    Its working by me.
    i didnt fund any error

     
  • gina
    gina
    2013-07-16

    Post awaiting moderation.