5

精心为学弟学妹整理了60个适合练手的C语言/C++项目,值得收藏!

 2 years ago
source link: https://blog.csdn.net/weixin_41055260/article/details/116865434
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

精心为学弟学妹整理了60个适合练手的C语言/C++项目,值得收藏!

前几天写这篇文章《精心为学弟学妹准备的C语言与C++学习路线、书籍、视频推荐和资料,值得收藏!》,阅读和收藏都挺多,也让我一周涨了3000多粉丝,在这里感谢大家关注支持我。



最近很多粉丝朋友私信问一些学习路线的问题以及一些学习资源,一个一个回复有点累,前几天我分享了这篇《精心为学弟学妹准备的刷题笔记与代码规范,看完距大厂又近了一步!值得收藏!》关于算法和代码规范的文章。也有不少小伙伴问看完书和视频后,可以做点啥,今天给大家分享60个c语言/c++的小项目源码(这里面一部分是c++的c),学习过程中,可以调试下。对编程能力提升很有帮助。

说明:虽然截图标题都是c语言,但是一部分是c++



私聊回复不过来,我把源码放到这里,大家需要的话自行下载60个项目源码大全,点击获取

例如:c语言做的播放器源码







其他的就不放了,有需要源码的自取

60个项目源码大全,点击获取

最后,有什么其他问题可以私聊我,欢迎大家一键三连,点赞+收藏+评论转发。

期末作业要求如下:

Write a program that will help elementary school pupils practice math. a) The program will first ask the user for his/her ID number (including two letters & 4 digits), e.g. Please input your four digit ID no: AB1234 The program should have input validation. Then the program prompts three choices: (1) Start a test (2) Check scores (3) Exit Test: the program will give 10 math problems, e.g.: 12 * 3 = 36 48 + 32 = 80 … 56 / 28 = 2 Note: i) Pupils will answer each problem before the next one is given. ii) The problems should include addition, subtraction, multiplication and division. They are randomly generated. iii) Randomly generates numbers for problems. However, must ensure that both the problem and the result are no larger than two digits. The problem and the result should be greater than or equal to zero. The divisor cannot be zero. iv) After ten problems are finished, record the time used by the student to do the ten problems. v) Gives a score to each student. Saves this student’s ID, his/her score and the time used into a file named ‘record.txt’. vi) Print the following information on the screen: Prob. | Correct Answ. | Ur Answ c) Check scores: Searches the file ‘record.txt’ and lists all the historical scores for this student, e.g.: Your previous records are: AB1234 80 150 seconds AB1234 50 182 seconds AB1234 90 98 seconds You will be marked based on your program’s: (1) Correctiveness (2) Readability (3) Robustness (4) Conciseness

目前本人程序可以直接使用并完全满足要求。还是建议学弟学妹在字里行间多多理解争取自己写出漂亮代码

向本人在完成此作业过程中参考代码表示衷心感谢


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK