code problem

The following code is not working...
#include <iostream>
#include "conio.h"
using namespace.std;

int main()
{
int a,b;
a=3;
b=a+5;
a=b-2;

cout <<"a:";
cout<<a;
cout <<"b:";
cout<<b;
_getch();

return 0;
}
I have to mention that I am using Visual c++ 2010 , and i follow the path win32 console application - next - empty project - source file -add new item .Someone learned me this.
I am begginer and i can't figure out where is the problem ...
I get 4 x "error C2065: 'cout' : undeclared identifier" and "error C2059: syntax error : '.'"
I need some help ! :)
Last edited on
Try removing the dot here:
using namespace.std;
make it:
using namespace std;
Topic archived. No new replies allowed.