程序语言有“语法规则”,由其决定了程序是否构造正确。 编译器检查程序是否违反了语法规则,并且在规则被破坏的时候产生语法错误报告。
Programming languages have a set of syntax rules that determine whether a program is
识别语义错误是十分微妙的,它要求你进行反向的工作检查程序的输出,并且查明它在做什么。
Identifying semantic errors can be tricky because it requires you to work backward by looking at the output of the program and trying to figure out what it is doing.
如果发现错误,将其纠正,再次运行检查程序。
If any errors are found, correct the errors and run the check again.
检查打字问题最简单的方式是使用拼写检查程序,但检查语法错误就繁杂得多。
The easiest way for checking for typos is to use a spellchecker, but checking for grammar mistakes is a lot trickier.
检查打字问题最简单的方式是使用拼写检查程序,但检查语法错误就繁杂得多。
Thee easiest way for checking for typos is to use a spellchecker, but checking for grammar mistakes is a lot trickier.
检查程序向用户输出的文本或信息中是否存在拼写或语法错误。
Are there spelling or grammatical errors in any text that is printed or displayed by the program?
第二,在一个实际的程序中,你一般应该立即检查程序中所有API调用的返回值,以检测错误(例如导入失败)。
Second, in a realistic program, you should generally test the return values of all the API calls in this program immediately to detect errors (e. g., import failure).
如果您在答复邮件或转发邮件的每行前都添加了字符前缀,则拼写检查程序无法忽略原始邮件,并检查整个邮件中的错误拼写。
If you prefix each line of replies or forwards with a character, the spelling checker cannot ignore the original message, and checks the entire message for misspellings.
如果您在答复邮件或转发邮件的每行前都添加了字符前缀,则拼写检查程序无法忽略原始邮件,并检查整个邮件中的错误拼写。
If you prefix each line of replies or forwards with a character, the spelling checker cannot ignore the original message, and checks the entire message for misspellings.
应用推荐