The virtual functions simply write a line of text to standard output.
虚函数简单地向标准输出写一行文本。
Tolstoy was a writer who could not write a line that did not come from a deep centre.
作为作家,托尔斯泰写下的每一行文字都源自内心深处。
Whenever I write a line, I read it to my parents, who are farmers, without much education.
我写一行字,就念给父母听,他们是农民,没有读过什么书。
But literally all I can do at this stage is write what we would call a straight-line program, that is, a program in which we execute in which we execute the sequence of instructions one by one.
但是字面上来说,我们现在学到的,都是所谓的直线程序,也就是,一个接一个的执行,一系列的,指令的程序。
So really, the rule of thumb if you think back to Scratch is -- that any time you write a statement -- -- something that does something in one line of code -- you generally need the semicolon there.
实际上,根据经验,你们回忆一下在Scratch中,任何时候你们写一条语句-,处理一些操作的一行代码-,你们通常需要在那里加个分号。
If you want to write a function that describes this line here, it's pressure as a function of volume related to each other with this constant.
如果要写出描述这条等温线的方程,它的压强和体积,就通过常数C相联系起来。
应用推荐