primary-expression + some more random errors
<pre><code>#include &lt;iostream&gt;

using namespace std;
int main()
{
int x;

char y;


x = nil;

y = nil;

string input = "";
cout &lt;&lt; "Hi. ";
getline(cin, input);
cout &lt;&lt; "Hey, why'd you type " &lt;&lt; input &lt;&lt; ", it sounds real stupid. ";
getline(cin, input);
cout &lt;&lt; "Stop typing " &lt;&lt; input &lt;&lt; ", it's hard work for me to proccess. ";
cin.get();
cout &lt;&lt; "STOP TRYING IT HURTS ME!\n";
getline(cin, input);
cout &lt;&lt; "Hey, proccessing " &lt;&lt; input &lt;&lt; " actually wasn't that hard this time. Nice job for once!\n";
cout &lt;&lt; "By the way, what is your age? ";
getline(cin, input);
x = int;
cout &lt;&lt; "Okay, good. Now what is your name? ";
getline(cin, input);
y = input;
cout &lt;&lt; "Ok, so your name is " &lt;&lt; y &lt;&lt; " and your age is " &lt;&lt; x &lt;&lt; "!";
if (y &gt; 0) cout &lt;&lt; "Wait, so you aren't born yet? HOW ARE YOU TYPING THIS?";
cin.get();
return 0;
}
}
</code></pre>

<p>I'm trying to make a simple program and yes I have searched, but it seems to be different for every little problem people have.
So here are the errors I get, I've been trying to fix this for about a day of trial and error and searching</p>

<pre><code>C:\Users\x\Desktop\avonia deluxe\New folder\cpp\main.cpp||In function 'int main()':|
C:\Users\x\Desktop\avonia deluxe\New folder\cpp\main.cpp|13|warning: overflow in     implicit constant conversion [-Woverflow]|
C:\Users\x\Desktop\avonia deluxe\New folder\cpp\main.cpp|27|error: expected primary-    expression before 'enum'|
C:\Users\x\Desktop\avonia deluxe\New folder\cpp\main.cpp|27|error: expected ';' before     'enum'|
C:\Users\x\Desktop\avonia deluxe\New folder\cpp\main.cpp|30|error: cannot convert     'std::string {aka std::basic_string&lt;char&gt;}' to 'char' in assignment|
||=== Build finished: 3 errors, 1 warnings ===|
</code></pre>

<p>And also if i try to add unsigned to int x i get unsigned was not declared in this scope.
Probably will occur also with signed short or long.</p>
