C++初级到中级程序员的练习
我是一位相当有经验的 Java 程序员,我正在尝试(有点痛苦)过渡到 C++。为此,我正在寻找一些有趣的项目来开展。我正在寻找能够帮助我获得 C++ 库经验的东西。例如,我最近编写了一个简单的程序,它会读取 docx 文件并在其中搜索关键字,并显示它重复的次数。这就是我正在寻找的那种项目,需要人们对 C++ 数据类型库有一个有效的理解。有人有什么建议吗?
(请不要建议 Euler 项目,因为我已经完成了大部分问题。)
提前致谢。
I am a fairly experienced programmer in Java, and I am attempting to make the (somewhat painful) transition to C++. To do this I am looking for some interesting projects to work on. I am looking for stuff that would help give me experience with C++ libraries. For example, I recently wrote a simple program that would read a docx file and search it for a key word, and display the number of times it was repeated. This is the sort of project I am looking for, stuff that requires one to develop a working understanding of C++ libraries of data-types. Does anyone have any suggestions?
(Please don't suggest project Euler as I have already completed most of those problems.)
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试做一个小游戏。这很有趣,而且你能学到很多东西。俄罗斯方块是我最喜欢的,我已经用多种语言和多种平台实现了它。
Try to make a small game. It's fun and you learn a lot. Tetris is my favourite for that, I've implemented it in a number of languages and on a number of platforms.
如果你想成为一名 C++ 开发人员,我会给你一些你必须擅长的领域的建议。
你需要改进的地方是
垃圾收集 - 释放内存是由我们完成的。所以我们必须处理这部分。
多线程 - 创建多线程程序并尝试在程序中使用互斥体、事件、临界区等所有内容。这样您就可以理解 C 语言中操作系统概念的重要性。
STL -学习模板和 STL 概念。
MFC - 探索 MFC 类并尝试在您的程序中使用它。
了解所有这些内容,然后选择一些桌面应用程序,例如 MSPaint 并尝试创建类似的应用程序,并将所有 MSPaint 功能创建到您的应用程序中。
一旦您完成 MSPaint 应用程序并尝试实现其他功能,例如 Photoshop 功能。
这些项目将为您提供大量 C++ 经验。
I will give you the suggestions of areas you have to be strong if you want to be a c++ developer.
The areas you have to improve is
Garbage Collection - Freeing the memory is done by us.So we have to take care of this part.
Multithreading - Creating multi threaded program and try to use mutex,events,critical section everything into your program.So that you can understand the importance of OS concepts in C.
STL - Learn Templates and STL concepts.
MFC - Explore MFC Classes and try to use it in your program.
Learn All these stuffs and then pick some desktop applications like MSPaint and try to create the application like that and create all that MSPaint functionalities into your application.
Once You finish MSPaint application and try to implement additional features like photoshop functionalities.
These Project will give you a lot of experience in C++.