What's with this error?

Monique
2012-03-10
2012-09-26
  • Monique
    Monique
    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 ...