我发出错误信息,将返回值替换为0(请记住:每个内联代码块都返回一个对象)。
I emit an error message and replace the return value with 0, instead (remember: every inline code block returns an object).
如果忘了这最后一步的话(我几乎每一次在Grails中使用EJB3注释时都会忘记这一步),会得到如下的错误信息。
If you forget this final step (I do nearly every time I use EJB3 annotations in Grails), you'll get the following error message.
我被搞懵了,接下来我能记得的,就是看见一些数字符号啥的出现了,最后出现一个错误信息,像是'文件格式无效'什么的。
The next thing I know, all these Numbers and symbols show up and I get an error message saying 'invalid file format' or something.
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“建立连接,“
应用推荐