[Edu-sig] C++ As a First Language

Gerrit Holl gerrit@nl.linux.org
Thu, 2 Mar 2000 10:36:53 +0100


<quote name="Ulf Engström" date="951985610" email="ulf.engstrom@b2b-link.com">
> Conclusion: Unless you're dealing with numbers-only, use raw_input. Still it's a lot easier than starting with C++, which was one of my first languages. ;)

I disagree.

>>> age = input("How old are you? ")
How old are you? __import__('os').system('/bin/sh')
sh-2.03$

Not safe.
</quote>

regards,
Gerrit.

-- 
Plis korekt eni ingglisj joe encounter in mai imeel meeasj!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK-----