|
From: kr33z <kr...@wp...> - 2002-12-21 10:48:55
|
Hi
> > i can not write any program with c++. acually
> > it work on c. there is no header file iostream
> > and there is no cout . it only accept printf
> > scanf stdio and so on. i have A book about C++and all
> > the example wont work. what should i do?
> > best regards
>
> File -> New Project -> Console Application -> C++ Project -> Ok
>
It wont help you. New GCC requires that you explicitely define
that you want to use standard namespace:
#include <iostream>
//there is no .h !!
using namespace ::std;
int main()
{
cout << "asdfkjkrjt" ;
}
|