关于为某些项目学习C ++的问题。 [英] Question about studying C++ for certain project.

查看:53
本文介绍了关于为某些项目学习C ++的问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,在做了一些研究和咨询字节论坛成员之后,我开始研究C ++,其长期目标是创建我自己的项目<当前3D游戏引擎的附加组件,它将计算基于材料的物理计算>


对于该项目,我需要创建一个包含其属性的材料数据库。

这将允许加载他们的数据进入3d对象,并在对象相互交互时根据数据库条目进行计算。


问题是:我应该整体学习C ++(这是很多很多书或者我应该学习基础知识,并专注于某些特定领域,如果是这样的话,那些领域考虑了这个项目的目标?如果有人知道哪些书详细描述/教导它。


从我目前的理解,如果它是正确的学习方式那么它将是DirectX 10和数据库编程技术。我仍然是一个新手,所以我对metter的理解可能是错误的。


提前感谢你对这个metter的任何建议。

Currently after doing some research and consulting bytes forum members I started to study C++ with a long-term goal of creating my own project <add-on for current 3d game engines that will calculate material based physical calculations>

For the project I''ll need to create a data base of material''s with their properties.
That will allow the possibility of loading their data into 3d objects, and make calculations based on database entry, when objects interact with each other.

Question is: should I study C++ as a whole (which is lots and lots of books) or I should study the basics and specialize in some specific areas if so what those area called considering this projects goal? and if some one know what books describe/teach about it in detail.

From my current understanding, if its the correct way to study then it will be DirectX 10 and Database programming techniques. I am still a newbie so my comprehension of the metter is probably wrong.

Thank you in advance for any advice on this metter.

推荐答案

在我看来,在你对C ++本身有一个相当牢固的把握之前,你不应该用C ++进行directx或数据库编程。这样做的原因是,一旦你使用某个特定的非标准库进行编程,就像使用directx和数据库一样,它会更容易出错并且错误将更难以调试和理解。这只会增加你的开发时间...


最好的方法是学习C ++,直到你对大多数概念感到满意为止(这并不意味着你是一个他们都是专家,但你了解他们并且编码很舒服)。然后,学习directx或opengl,无论什么更合适。然后,如果您真的需要它,请查看一些数据库访问库。


免责声明:这只是在我看来


编辑:

我不喜欢我知道任何有关C ++编程的书籍,我肯定有很多。

对于directx编程,nexe.gamedev.net是一个很好的网站,

For opengl编程,nehe.gamedev.net是一个很好的网站。
In my opinion, you should not go into directx or database programming in C++ until you have a fairly firm grasp of C++ itself. The reason for this is that once you get into programming using some particular non-standard library, as would be the case with directx and databases, it would be easier to make mistakes and the errors would be harder to debug and comprehend. This would only increase your development time...

The best way to go is to learn C++ until you are comfortable with most of its concepts (this doesn''t mean you are an expert in all of them, but that you understand them and are comfortable coding). Then, learn directx or opengl, whatever is more appropriate. Then, if you really need it, look into some database access libraries.

Disclaimer: This is all just "in my opinion"


I don''t know any books for C++ programming in general, I''m sure there are many.
For directx programming, nexe.gamedev.net is a good website,
For opengl programming, nehe.gamedev.net is a good website.


谢谢,所以基本上下一个逻辑问题在继续之前我应该​​知道什么?


目前我正在为傻瓜第5版完成C ++。它解释了基本概念。我不确定它是否足以继续进入directx和数据库,或者在继续之前我应该​​采取下一个级别?
Thank you, so basically the next logical question what should I know before I continue?

Currently I am finishing C++ for dummies 5th edition. It explain the basic concepts. I am not sure if its enough to move on into directx and database or there is a next level I should take before moving on?


你总是可以尝试在directx上学习几个教程,并看看你是多么容易得到它。它会因人而异。如果你很好地理解了directx的概念,并且你可以很好地编写代码,那就继续前进吧。但是,如果你正在苦苦挣扎,那么回过头学习C ++会更好......
You can always just try going through several tutorials on directx, and see how easily you get it. It will vary from person to person. If you understand the concepts of directx well, and you can code it fairly well, then just keep going forward. However, if you are struggling, then maybe it is better to go back and study up on C++ some more...


这篇关于关于为某些项目学习C ++的问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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