需要一些学习C ++的方向!请帮忙! [英] Need some direction for learning C++! Please help!

查看:91
本文介绍了需要一些学习C ++的方向!请帮忙!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在做一个BSc软件工程课程,我发现它相对容易,而且在我的业余时间,我阅读了一些C ++书籍和cplusplus.com指南,同时按照这些例子来帮助我取得成功。使用我学到的类,数据结构和循环等,我已经制作了一些小程序,如货币转换器和人工票机,没有什么大的。



我的问题是的,现在怎么样?我从哪里开始进步?到目前为止,我的C ++知识非常有限,我可以制作的唯一程序是命令行。

我真的很喜欢学习它,理想情况下我希望能够制作像这样的2D游戏pacman或mario,也许是文件的密码系统?我真的需要一些方向,希望有人可以提供帮助。



提前致谢,

欧文

So im doing a BSc software engineering course which im finding relatively easy, and in my spare time I have read through a few C++ books and cplusplus.com guides while following the examples to help me get ahead. Using classes, data structures and loops etc that I learned, i have made a few little programs like a currency converters and an artificial ticket machine, nothing huge.

My question is, now what? Where do I go from here to progress? So far my C++ knowledge is very limited and the only programs I can make are command line ones.
I''m really enjoying learning it, ideally I would like to be able to make a 2D game like pacman or mario, maybe a password system for files? I really need some direction and hope someone can help.

Thanks in advance,
Owen

推荐答案

创建游戏将是一个很好的挑战。您可能会发现Cedric的文章系列很有用:TetroGL:用于Win32平台的C ++中的OpenGL游戏教程 [ ^ ]。

Morevover,我建议你学习如何使用新的 C ++ (语言和标准库)功能。
Creating a game would be a good challenge. You may find useful the Cedric''s article series: "TetroGL: An OpenGL Game Tutorial in C++ for Win32 Platforms"[^].
Morevover, I would suggest you to learn how to use new C++ (language and standard library) features.


你可以从 C ++文章开始[ ^ ]部分。另请参阅桌面开发部分;这个网站上有很多很棒的样本。如果您需要技术细节,请 Bjarne Stroustrup'的主页 [ ^ ]是一个不错的去处。 Microsoft还提供一些有用的示例程序 [ ^ ]以及许多其他资源。
You can start at the C++ Articles[^] section here on CodeProject. Also look at the Desktop development section; there are lots of great samples on this site. If you want technical details then Bjarne Stroustrup''s homepage[^] is a good place to go. Microsoft also provide some useful sample programs[^] along with lots of other resources.


第一件事

你应该掌握C ++。

>>学习语言基础知识。 (这里有书,但在线教程会更有趣; http://thenewboston.org/list.php?cat = 16 [ ^ ])

>>了解C ++中的低级设施。

>>了解内存管理(主要是动态内存)。

>>了解一些开发模式。



第二件事

每个C ++程序都是基于框架/ API创建的(或者至少是一个平台)。

了解主要的API。

>> Windows: Windows API (我最喜欢), MFC ,...

>> Apple: Cocoa API ,...

>>跨平台: QT GTK + ,...



第三件事

了解您感兴趣的内容。有很多领域(2D / 3D游戏,数据库软件,图形软件,实用软件) ...)



某些字段太过先进且无法自行完成。那些东西需要库和软件。其中一些:



>>游戏: DirectX (一包Direct2D,Direct3D等), OpenGL ,....

>>数据库: SQL服务器 MySql ,(和C ++,SQL集成API'),...



**还有更多的字段和许多库,我只列出了一些,我听说过的很好。
First Thing
You should master C++.
>> Learn the language basics. (There''re books, but Online Tutorials would be more fun ; http://thenewboston.org/list.php?cat=16[^] )
>> Learn about the low-level facilities in C++.
>> Learn about memory-management (mainly Dynamic Memory).
>> Learn some patterns of developing.

Second Thing
Every C++ program is created based on a framework/API (Or at least a platform).
Learn the main API''s available.
>> Windows : Windows API (i like it the most), MFC ,...
>> Apple : Cocoa API ,...
>> Cross-Platform : QT, GTK+ ,...

Third Thing
Learn what you''re interested in. There''re lots of fields (2D/3D games, database software, graphics software, utility software...)

Some fields are too advanced and complex to do on your own. Those things require libraries and software. Some of them :

>> Games : DirectX (a package of Direct2D, Direct3D and more), OpenGL ,....
>> Database : SQL server, MySql, (and C++, SQL intergration API''s),...

**There''re much more fields and many libraries, I only listed some, which I''ve heard good about.


这篇关于需要一些学习C ++的方向!请帮忙!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆