expected unqualifed-id

I made ASCII art for a program and I'm getting expected unqualified IDs for some reason, I've had the ASCII art sitting there for a while and it didnt bring this up for DAYS and now Its suddenly giving me this, can someone help?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

#include <iostream>
#include <string>
using namespace std;
int main()
cout << "\n\n\n\n\n";
cout << "                                                           #-------------------------------------------------------#\n";
cout << "                                                           ++=====================================================++\n";
cout << "                                                           ||   █▀ █▀▄ ▄▀▄ ▄▀  ▄▀  ▀▄▀   █ █ ██▀ █▄ █ █▀▄ ▄▀▄ █▀▄  ||\n";
cout << "                                                           ||  █▀ █▀▄ ▀▄▀ ▀▄█ ▀▄█  █    ▀▄▀ █▄▄ █ ▀█ █▄▀ ▀▄▀ █▀▄   ||\n";
cout << "                                                           || +--+    +---+   +---+   +---+   +---+   +---+   +--+ ||\n";
cout << "                                                           ||  =        =       =       =       =       =       =  ||\n";
cout << "                                                           ||       .       .       .       .       .       .      ||\n";
cout << "                                                           ||     +299+   +399+   +999+   +399+   +399+   +199+    +=======#\n";
cout << "                                                           ||     {MTN}   {COK}   { DR}   {DTC}   {PEP}   {WED}    ||A B C||\n";
cout << "                                                           ||     {DEW}   { E }   {BOB}   {OKE}   { SI}   {CLA}    ||D E F||\n";
cout << "                                                           ||     +A31+   +B32+   +C33+   +D34+   +E35+   +F36+    ||1 2 3||\n";
cout << "                                                           ||                                                      ||4 5 6||\n";
cout << "                                                           ||     +299+   +099+   +099+   +599+   +199+   +299+    +=======#\n";
cout << "                                                           ||     {BJA}   {MYS}   {BTL}   {TLA}   {MUG}   {DRP}    ||\n";
cout << "                                                           ||     {BST}   {PAC}   {WTR}   {BRW}   {   }   {RKY}    ||\n";
cout << "                                                           ||     +A21+   +B22+   +C23+   +D24+   +E25+   +F26+    ||\n";
cout << "                                                           ||                                                      ||\n";
cout << "                                                           ||                                                      ||\n";
cout << "                                                           ||                                                      ||\n";
cout << "                                                           ||                                                      ||\n";
cout << "                                                           ||            _-==========================-_            ||\n";
cout << "                                                           ||           |                              |           ||\n";
cout << "                                                           ||           |_                            _|           ||\n";
cout << "                                                           ||             -==========================-             ||\n";
cout << "                                                           ||                                                      ||\n";
cout << "                                                           ||                                                      ||\n";
cout << "                                                           #-------------------------------------------------------#\n";
cout << "                                                           =========================================================\n";
cout << "                                                            ||          ||                             ||         ||\n";
Last edited on
main() needs a code body surrounded by {}. After L5 put { At the end of the code put }
Topic archived. No new replies allowed.