Menu

What's with this error?

Anonymous
2012-03-10
2012-09-26
  • Anonymous

    Anonymous - 2012-03-10

    Hi!
    why does this error appear?
    include <stdio.h>
    main()
    {
    printf("aaa");
    }
    I compile and this message appears:

    (line 1) expected construscor, distructor or type conversion before '<' token
    (line 1) expected ,' or;' before '<' token

    please help me!!! :)
    thx

     
  • Micheal

    Micheal - 2012-06-22

    include is a preprocessor directive which must be preceeded by #:

    include ...

     

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.