期刊文献+

C++教学中编程习惯的养成 被引量:9

Training of C++ Programming Style
下载PDF
导出
摘要 面向对象程序设计课程在整个计算机理论和实践教学体系中占据非常重要的地位。很多学生在学完C++课程后,能够初步掌握基本语法和面向对象设计思想,但是编出来的程序质量非常低,程序可读性、稳定性和可重用性非常差,离实际软件开发的要求相差甚远,其中部分原因就是没有好的编程习惯。本文着重就好的C++编程习惯要求和养成做一些探讨,希望通过平时课堂教学和课外实验,学生可以掌握一般的编程风格,养成良好的编程习惯。 The course of Object-Oriented Programming (OOP) is very important in computer theory and practice teaching. A lot of students know some C++ grammar and OOP after finished the whole course. However, the quality of their code is low because its readability, robustness and reusability are bad. It is far from the requirement of software. One of the reasons is that they don't have good programming styles. This article presented what are good programming styles and how to build them. Students can develop good programming styles through normal classes and experiments.
出处 《计算机教育》 2011年第9期64-67,共4页 Computer Education
关键词 面向对象程序设计 C++ 编程习惯 OOP C++ programming styles
  • 相关文献

参考文献4

二级参考文献13

  • 1丁红胜,田金琴.C语言教学中学生编程风格的培养[J].计算机时代,2006(10):65-67. 被引量:9
  • 2[美]Sjarne Stroustrup.C++程序设计语言[M].裘宗燕,译.机械工业出版社.2005.
  • 3[美]Stanley B. Lippman Barbara E. Moo Josee LaJoie. C++ PRIMER(中文版)[M].李师贤,译.人民邮电出版社,2006.
  • 4[美]Bruce Eckel.C++编程思想[M].刘宗田,译.机械工业出版社,2006.
  • 5[美]Kenneth A.Reek.C和指针[M].徐波,译.人民邮电出版社,2008.
  • 6KernighanBW,PikeR.程序设计实践[M].裘宗燕,译.北京:机械工业出版社,2000.
  • 7Kirsti hla-Mutka, Toni Uimonen, Hannu-Matti Jarvinen. Supporting Students in C++ Programming Courses with Automatic Program Style hssessment[J/OL].Journal of Information Technology Education, 2004(3):245-262 [2009-10-25]. http://informingscience, org/jite/documents/Vo13/v3p245-262-135, pdf.
  • 8Indent: Indent and Format C Program Source[EB/OL]. [2009-10-25]. http://www, gnu. org/software/indent/manual/ indent, html.
  • 9SteveM.代码大全[M].金戈,汤凌,陈硕,等译.2版.北京:电子工业出版社,2006.
  • 10[2]nxyc twz.关于编程风格的讨论[EB/OL].http://www.yestar2000.com/TechCenter/901/TC 16865.htm,2004-6-29.

共引文献5

同被引文献45

引证文献9

二级引证文献35

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部