Home | History
I find myself unable to Google for gets in other languages. That is, because every language seems to call "take a line of input interactively from the keyboard and return it" a slightly different thing. == Ruby == foobar = gets == Python == foobar = raw_input() See [http://docs.python.org/library/functions.html#raw_input Python Standard Library Documentation ยง2] == Java == Use [http://java.sun.com/javase/6/docs/api/java/io/Console.html java.io.Console]. [http://www.javapractices.com/topic/TopicAction.do?Id=79 Example].
foobar = gets
foobar = raw_input()
Powered by WiGit