📄 pclint介绍的专栏.htm
字号:
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">--- Global
Wrap-up</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>error 900: (Note -- Successful
completion, 1 messages produced)</FONT></FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">Press any key to
continue</FONT></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第三行有个错误:</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">error 783: (Info -- Line does not end
with new-line)</FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT
size=3>意思是说没有以新行结束。</FONT></SPAN></P>
<P class=a style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT color=#008000><U><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">注:如果</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">Arguments</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为:</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">-i"C:\PCLint" -u std.lnt
"$(FileName)$(FileExt)"</FONT></SPAN></U></FONT></FONT></P>
<P class=a style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><U><FONT
color=#008000 size=3>则结果为:</FONT></U></SPAN></P>
<TABLE class=MsoTableGrid
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext"
cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-lastrow: yes">
<TD
style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 426.1pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt"
vAlign=top width=568>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">PC-lint for C/C++
(NT) Ver. 8.00q, Copyright Gimpel Software 1985-2004</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">--- Module:<SPAN
style="mso-spacerun: yes"> </SPAN>main.cpp</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman">_</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman">}</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="COLOR: blue"><FONT style="BACKGROUND-COLOR: #e6e6e6"><FONT
face="Times New Roman">main.cpp(3) : Info 783: Line does not end with
new-line<O:P></O:P></FONT></FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">Press any key to
continue</FONT></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
face="Times New Roman" size=3></FONT></O:P></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">main.cpp</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为:</SPAN></FONT></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">void
main()</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"><FONT face="Times New Roman">{<SPAN
style="mso-spacerun: yes"> </SPAN></FONT></FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><FONT
style="BACKGROUND-COLOR: #e6e6e6"><SPAN lang=EN-US><FONT
face="Times New Roman">}<---</FONT></SPAN><SPAN
style="FONT-FAMILY: 新宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">即在这里加一个回车</SPAN></FONT></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">再次</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">LINT</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,结果没有任何告警:</SPAN></FONT></P>
<TABLE class=MsoTableGrid
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext"
cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-lastrow: yes">
<TD
style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 426.1pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt"
vAlign=top width=568>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">PC-lint for C/C++
(NT) Ver. 8.00q, Copyright Gimpel Software 1985-2004</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">--- Module:<SPAN
style="mso-spacerun: yes"> </SPAN>main.cpp</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">--- Global
Wrap-up</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes"> </SPAN>error 900: (Note -- Successful
completion, 0 messages produced)</FONT></FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">Press any key to
continue</FONT></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
face="Times New Roman" size=3></FONT></O:P></SPAN></P>
<H3 style="MARGIN: 13pt 0cm 13pt 35.45pt"><FONT face="Times New Roman"><SPAN
lang=EN-US style="mso-fareast-font-family: 'Times New Roman'"><SPAN
style="mso-list: Ignore"><FONT size=5>3.2.2.</FONT><SPAN
style="FONT: 7pt 'Times New Roman'">
</SPAN></SPAN></SPAN><SPAN lang=EN-US><FONT
size=5>testForPclint2<O:P></O:P></FONT></SPAN></FONT></H3>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">新建一个最简单的</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">Win32 Console
Application</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,工程名</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">testForPclint2</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">,其中的</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">main.cpp</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为:</SPAN></FONT></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">#include
"stdio.h"</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">int main(int argc,
char* argv[])</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">{</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"><FONT face="Times New Roman"><SPAN
style="mso-spacerun: yes">
</SPAN>printf("hello\n");</FONT></FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">}</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">点击</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">Tools</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">菜单下面的</SPAN><SPAN
lang=EN-US><FONT face="Times New Roman">PCLINT</FONT></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">菜单项:</SPAN></FONT></P>
<TABLE class=MsoTableGrid
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext"
cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-lastrow: yes">
<TD
style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 426.1pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt"
vAlign=top width=568>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">PC-lint for C/C++
(NT) Ver. 8.00q, Copyright Gimpel Software 1985-2004</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><O:P><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman"></FONT></O:P></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6" face="Times New Roman">--- Module:<SPAN
style="mso-spacerun: yes"> </SPAN>main.cpp</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
style="BACKGROUND-COLOR: #e6e6e6"
face="Times New Roman">_</FONT></SPAN></P>
<P class=a0 style="MARGIN: 0cm 0cm 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -