格式化字符串文字的你的想法是正确的。
格式化字符串文字的你的想法是正确的。然而这格式必须通过事先准备好的声明中。
Your idea of formatting a string literal is right. YET this formatting have to be done via prepared statement.
在重构后,所有对这个类中的数字或字符串文字的使用都将指向该字段,而不是指向数字或字符串文字本身。
After the refactoring, all USES of that number or string literal in the class refer to that field, instead of the number or string literal itself.
There's a whole bunch of blocks that we'll look at in more fun detail on Friday but I'm going to pick the easiest one here and I'm going to type Hello CS50 in this string, "Hello CS50", zooming in say how nice the puzzle pieces are nicely interlocked?
今天我们看到的各种图块,到下周五我会仔细讲解其中的精妙之处,但今天我只想举一个最简单的例子,我要在这儿键入字符串,放大窗口,然后看看这漂亮的图形和文字,是如何美妙地连结在一起的?
应用推荐