C++ gives an error
<p>Hello I have an error at this program that is  wcout is not a member of `std'.   Also I used  iostream as you see but didnt work.I have Dev-C++ 4.9.9.2 and my operating system is XP SP3
I need your help.
Thanks for free time.</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;cstring&gt;
#include &lt;cwchar&gt;
using namespace std;
const wchar_t alphabet[] ={'A', 'B', 'C', 'Ç', 'D', 'E', 'F', 'G', 'Ğ', 'H', 'I',
                        'İ', 'J', 'K', 'L', 'M', 'N', 'O', 'Ö', 'P', 'R', 'S',
                        'Ş', 'T', 'U', 'Ü', 'V', 'Y', 'Z', '0', '1', '2', '3',
                        '4', '5', '6', '7', '8', '9', '.', ',', ':', ';', ' '};
const int char_num =44;

void cipher(wchar_t word[], int count, int key)
{
    int i = 0;
    while(i &lt; count) {
        int ind = -1;
        while(alphabet[++ind] != word[i]) ;
        ind += key;
        if(ind &gt;= char_num)
            ind -= char_num;
        word[i] = alphabet[ind];
        ++i;
    }
}

void decipher(wchar_t word[], int count, int key)
{
    int i = 0;
        while(i &lt; count) {
        int ind = -1;
        while(alphabet[++ind] != word[i]) ;
        ind -= key;
        if(ind &lt; 0)
            ind += char_num;
        word[i] = alphabet[ind];
        ++i;
    }
}

int main()
{
    wchar_t text[] = L"ABJT;";
    int len = wcslen(text);
    std::wcout &lt;&lt; text &lt;&lt; std::endl;
    cipher(text, len, 2);
    std::wcout &lt;&lt; text &lt;&lt; std::endl;
    decipher(text, len, 2);
    std::wcout &lt;&lt; text &lt;&lt; std::endl;
    return 0;
}
</code></pre>
