Menu

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

     
  • Anonymous

    Anonymous - 2013-07-16
    Post awaiting moderation.

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.