正在加载图片...
上海交通大学交大密西根 联合学院· 81 UM-SJTU Joint Institute University of Michigan Shanghal Jiao Tong University About ConsoleT If your class will be run in a console environment (text based window),your class should have a base class called ConsoleT defined by the class. There are a few usefule functions defined in ConsoleT like printLine O and readInt O as you will see in the later examples.You can use it to print multiple items as the“cout”used in your textbook. There is a count part of the printLine called readLine,which is equivalent to“cin”About ConsoleT ConsoleT • If your class will be run in a console environment (text based window), your class should have a base class called ConsoleT defined by the class. • There are a few usefule functions defined in ConsoleT like printLine () and readInt () as you will see in the later examples. You can use it to print multiple items as the “cout” used in your textbook. • There is a count part of the printLine () called readLine (), which is equivalent to “cin
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有