Re: C or C++



"Carlos" == Carlos Moreno <cm_clcppm_7b8f93f186@xxxxxxxxxxx> writes:

Carlos> It's supposed to mean what it means: the beginner is
Carlos> overwhelmed with little details that have nothing to do
Carlos> with the basic notion that they're trying to absorve ---
Carlos> the notion of using a statement to print the contents of a
Carlos> variable is already "enough magic" in the mind of a
Carlos> beginner --- throw the fact that they have to match the %d
Carlos> %f etc. to the data type, and the whole thing feels like a
Carlos> minefield in the mind of the beginner.

FYI, Sun has introduce printf() in Java 1.5. You should ask: why?

see: http://java.sun.com/j2se/1.5.0/docs/api/java/io/PrintWriter.html#printf(java.lang.String,%20java.lang.Object...)



--
Lee Sau Dan 李守敦 ~{@nJX6X~}

E-mail: danlee@xxxxxxxxxxxxxxxxxxxxxxxxxx
Home page: http://www.informatik.uni-freiburg.de/~danlee
.



Relevant Pages