Code:
#include <iostream>
typedef unsigned short int USHORTINT;
int main()
{
using std::cout;
USHORTINT Width = 5;
USHORTINT Length = 5;
USHORTINT AREA = Width * Length;
cout << "Width: " << Width << "\n";
cout << "Length: " << Length << "\n";
cout << "Area: " << Area << "\n";
int x;
std::cin >> x;
return 0;
}
error: --------------------Configuration: asdasd - Win32 Debug--------------------
Compiling...
adasdaasd.cpp
c:\program files\microsoft visual studio\myprojects\asdasd\adasdaasd.cpp(14) : error C2065: 'Area' : undeclared identifier
Error executing cl.exe.
asdasd.exe - 1 error(s), 0 warning(s)
I dont know whats wrong.. :/