UltimateMaster50
Programmer
I'm having trouble getting a pretty simple C++ program to compile, and I'm not sure why... >_< Here's what I have:
and I'm getting:
error C2653: 'std' : is not a class or namespace name
error C2065: 'cout' : undeclared identifier
I really can't figure out what I'm doing wrong! Any help would be greatly appreciated!
Code:
#include <iostream>
using namespace std;
#include "stdafx.h"
int main()
{
cout<<"Please work!!!!";
return 0;
}
and I'm getting:
error C2653: 'std' : is not a class or namespace name
error C2065: 'cout' : undeclared identifier
I really can't figure out what I'm doing wrong! Any help would be greatly appreciated!