What to do after Python?

Fernando Rodríguez spamers at must.die
Mon Feb 19 06:38:49 EST 2001


On Mon, 19 Feb 2001 06:41:16 GMT, Sheila King <sheila at spamcop.net> wrote:


>cout << "some statement\n";
>
>It was explained to me, that by putting the statement
>
>using namespace std;
>
>in the program, I avoid the need to have to put the scope on each of these
>elements? (I know this is very far off topic now, for this group...)

Yes, it's like the difference between
import string
string.join((blah, blah))

and

from string import *
join((blah, blah))

There, now we're back on topic! :-)

PS Just don't put the "using" thing in header files and you'll be fine.




//-----------------------------------------------
//	Fernando Rodriguez Romero
//
//	frr at mindless dot com
//------------------------------------------------



More information about the Python-list mailing list