- 23
- 0
- 约9.08千字
- 约 33页
- 2016-12-09 发布于河南
- 举报
C错误合介绍
C++错误综合介绍 掌握自己找错改错的方法 class CForm { private: char title[40]; int width; int height; public: CForm() { strcpy(title,Form1); widht = 400; height = 350; } … … 错误认识 这是一个在编译期间发现的语法性错误,错误报告了中出现了两个错误点,它们的内容都是: undeclared identifier “没有定义过的标识符” #include iostream.h #include string.h class CForm { private: char title[40]; int width; int height; public: CForm() { strcpy(title,Form1) width = 400; height = 350; } 错误认识 #include iostream.h #include string.h class CForm { private: char title[40]; int width; int height; public: CForm() { strcpy(title,”Form1”); width = 400; hei
原创力文档

文档评论(0)