ttp://www.research.att.com/~bs/bs_faq.html#how-to-start
string s; // Standard C++ style
cin >> s;

and not like this

char s[MAX]; /* Standard C style */
scanf("%s",s);

どう考えても scanf だの使っている時点でCであってC++の標準じゃないね

>>725
> scanf("%lf", &x); <これ参照
これ以上は議論の余地なし。なんでそんなにC言語スタイルをC++として扱いたいんでしょーかねぇ〜〜〜wwww