• LoudWaterHombre@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago
    main.cpp:1:2: error: invalid preprocessing directive #Yo
        1 | #Yo dawg.
          |  ^~
    main.cpp:3:2: error: invalid preprocessing directive #I
        3 | #I heard you like comments.
          |  ^
    main.cpp:5:2: error: invalid preprocessing directive #So
        5 | #So I prefix every line with a hashtag so I can comment my comment while I comment.
          |  ^~
    main.cpp:7:1: error: ‘exit’ does not name a type
        7 | exit 1
          | ^~~~
    main.cpp:1:1: note: ‘exit’ is defined in header ‘’; did you forget to ‘#include ’?
      +++ |+#include <cstdlib>
        1 | #Yo dawg.