>>662
ありがとうございます。

cygwin をインストールしても gcc などが使えなかったので、
(スレタイを読んで)試しに mingwn をインストールしたら gcc などが使えるようになりました。

今度は g++ についての質問です。
とりあえず HelloWorld を作ったのですが、

#include <iostream>

int main(int argc, char** argv)
{
cout << "Hello, world!" << endl;
return 0;
}

を g++ でコンパイルすると、

hello_iostream.cc: In function `int main(int, char**)':
hello_iostream.cc:6: error: `cout' undeclared (first use this function)
hello_iostream.cc:6: error: (Each undeclared identifier is reported only once
for each function it appears in.)
hello_iostream.cc:6: error: `endl' undeclared (first use this function)

というエラーメッセージが表示されてしまいました。
cout や endl は iostream をインクルードすれば使えると思ったのですが、
どうすれば cout や endl が使えるようになるのでしょうか。
たびたびすみませんが、宜しくお願い致しますm(_ _)m