So, I know this is a simple example and I can see everyone pretty much got it right, and probably those that didn't actually made some sort of clicker error is my guess.
分别是质子和电子,我知道这是个很简单的问题,你们大部分人都做对了,我猜那些没做对的大概是因为点错了。
So generally, if you don't get an error message in a command line environment like this, that's good.
一般来说,如果你在命令行界面,没有收到错误信息,那就是好消息。
That says it's in here. It's in this tri-block. It raised an exception, but it wasn't and I O error.
这在这里它是一个try程序块,它报出异常,但他不是io错误。
Right, it's a syntactic error, because it doesn't know how to deal with this.
好,这是个语法错误,这是因为计算机不知道怎么来解释着个。
But the take away for now is that if you don't clue -lcs50, -- you get some mention -- some error message -- about "undefined symbol," and that should be your clue that, "Oh it's undefined in that I haven't told the compiler that I want to link in these zeros and ones."
但现在如果你删除“-lcs50“,你们会得到一些提示--一些错误信息-,像“未定义的符号“,这可以为你提过线索,“这个没有被定义,我没有告诉编译器,把想把这个与“1“和“0“建立连接,“
应用推荐