Hey im just trying to get back into c++ and i cant seem to solve why this is happning?
I know theres too many header files also, i just normally leave them there in practise things when im messing with colours etc.
Could you also please explain why it is not working so I can understand and not make the
same mistake in future? Thanks!
//Header files
#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
#include<iomanip>
#include<string>
using namespace std;
int level = 1;
void cork()
{
//cork: start village
cout<<"\n\nYou enter the village";
cout<<"\n1. Tavern\n2. Blacksmith\n3. Mage's Guild\n4. Training Area\n\n";
getch();
}
int main()
{
string name;
cout<<"Enter your name noble warrior\n";
cin>>name;
cout<<"\nYou are currently Level: " << level << "!";
getch();
void cork();
}