see these class:
#include <iostream>
#include <Windows.h>
#define MY_BUFSIZE 1024
using namespace std;

class Console
char pszOldWindowTitle[MY_BUFSIZE];

string Title() //the problem seems to be here, but no erro message here
		GetWindowText(GetForegroundWindow(), pszOldWindowTitle, GetWindowTextLength(GetForegroundWindow()) + 1);
		return string(pszOldWindowTitle);
	void Title(string title)  //these procedure works fine
(sorry the indention, but i can't use 'TAB' key)
and heres how i use it:

#include "stdafx.h"
#include "Console.h"
#include <iostream>
#include <conio.h>

int _tmain(int argc, _TCHAR* argv[])
	Console a;
    string b =string(a.Title());

    cout << "Title: " << b << endl; //i get 1 problem in second '<<'


    a.Title("Hello World");


    return 0;

error message:

1 - "error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)";

2 - " IntelliSense: no operator "<<" matches these operands".

what is wrong with cout???? isn't the 1st time that i get these type of error, but i continue without understand why
can anyone explain to me?