Hi im very new to programing and i'v spent some time trying to write this, to store and display the string 'a dragon'. I keep on getting:
error C2447: '{' : missing function header (old-style formal list?)
i dont understand what i did wrong
whats missing?
#include<iostream>
#include<string>
int main(void);
{
using std::cout;
using std::string;
string yell
="a dragon\n";
cout<<yell.c_str<<"\n";
return 0;
}