#include <iostream>
#include <string>
#include <random>
#include <Windows.h>
using namespace std;
int playerHP = 20;
int enemyHP = 20;
int playerAtk =(rand()%4 + 5); //Find a random number between 5 and 8
int playerDef = (rand()%4 + 5);
int playerAgi = (rand()%4 + 5);
int enemyAtk = (rand()%4 + 4); //Find a random number between 5 and 7
int enemyDef = (rand()%4 + 4);
int enemyAgi = (rand()%4 + 4);
cout<<"---------------"<< endl; // what in the sam hill is going on
cout<<"FIGHTER STATS"<< endl;
cout<<"----------------"<<endl;
cout<<"Player Stats:"<<endl;
cout<<"HP "<<playerHP<<endl;
cout<<"ATK "<<playerAtk<<endl;
cout<<"DEF "<<playerDef<<endl;
cout<<"AGI "<<playerAgi<<endl;
cout<<"ENEMY STATS:"<<endl;
cout<< "HP "<<enemyHP<<endl;
cout<<"ATK "<<enemyAtk<<endl;
cout<<"DEF "<<enemyDef<<endl;
cout<<"AGI "<<enemyAgi<<endl;
I can't seem to figure out why my cout statements are creating so many bugs in my program. This is obviously not my whole program, but I wanted to keep things short and sweet. I am getting the errors C2143:syntax eerror : missing ';' before '<<', C4430: missing type specifier-int assumed, and C2086 'int cout':redefinition on almost all of my cout statements and I can't figure out why. Thanks for any and all help and please dumb things down as much as possible, this is my first C++ program ever.