下载此文档

c++编程错误分析总结.ppt


文档分类:IT计算机 | 页数:约15页 举报非法文档有奖
1/15
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/15 下载此文档
文档列表 文档介绍
LeileiLeilei1??1. 1. 保留字保留字reserved words ; keywordsreserved words ; keywords??保留字是保留字是c++c++系统预定义的、由小写英文字母组成系统预定义的、由小写英文字母组成的单词、词头或词组。的单词、词头或词组。??Auto bool break case char classAuto bool break case char class??const continue default delete do doubleconst continue default delete do double??else enum extern false float forelse enum extern false float for??friend goto inline if int longfriend goto inline if int long??new operator private protected public registernew operator private protected public register??return short signed sizeof static structreturn short signed sizeof static struct??switch template this true typedefunionswitch template this true typedefunion??unsigned virtual void volatileunsigned virtual void volatile2??1. Ambiguous operators need parentheses 1. Ambiguous operators need parentheses ——不明确的运算需要用括号括起不明确的运算需要用括号括起) |2 M) |2 M** Z% Z$ x, M' I: E Z% Z$ x, M' I: E2. Ambiguous symbol 'xxx' 2. Ambiguous symbol 'xxx' ——不明确的符号不明确的符号" C5 b! X0 z5 |8 J! v! l5 F4 m" C5 b! X0 z5 |8 J! v! l5 F4 m3. Argument list syntax error 3. Argument list syntax error ——参数表语法错误参数表语法错误+ w2 t/ B/ H+ w2 t/ B/ H** Z! O0 c4 v Z! O0 c4 v4. Array bounds missing 4. Array bounds missing ——丢失数组界限符丢失数组界限符5. Array size toolarge 5. Array size toolarge ——数组尺寸太大数组尺寸太大6. Bad character in paramenters 6. Bad character in paramenters ——参数中有不适当的字符参数中有不适当的字符3 p3 py# W- B, `- w2 Yy# W- B, `- w2 Y7. Bad file name format in include directive 7. Bad file name format in include directive ——包含命令中文件名格式不正确包含命令中文件名格式不正确2 A- d7 d h; _2 A- d7 d h; _/ \, I9 Y( E5 |( O5 |! ^: s7 e/ \, I9 Y( E5 |( O5 |! ^: s7 e8. Bad ifdef directive synatax 8. Bad ifdef directive synatax ——编译预处理编译预处理ifdefifdef有语法错有语法错, ^! R/ F+ ?, {5 H/ D- G, ^! R/ F+ ?, {5 H/ D- G1 {5 V- h- F# V0 P9 B0 q8 I1 {5 V- h- F# V0 P9 B0 q8 I9. Bad undef directive syntax 9. Bad undef directive syntax ——编译预处理编译预处理undefundef有语法错有语法错10. Bit field too large 10. Bit field too large ——

c++编程错误分析总结 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数15
  • 收藏数0 收藏
  • 顶次数0
  • 上传人ranfand
  • 文件大小323 KB
  • 时间2016-09-23