Noob问题1-我怎么能找到c ++头文件可以做的...如果那有道理 [英] Noob question no 1 - How can I find what c++ headers can do... If that makes any sense

查看:97
本文介绍了Noob问题1-我怎么能找到c ++头文件可以做的...如果那有道理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的意思是....

我通过基础教程了解到,通过iostream.h,我可以使用cin和cout将数据输出和输入到控制台.

但是,我将如何学习D3D11.h的功能?

我意识到,在简单的控制台程序和直接的X 11应用程序/游戏之间,甚至在win32应用程序之间,都迈出了一大步.但是对于将作为示例的问题.

如果有一个网站说明了这些功能,或者您可以将正确的方向指给我,那就太好了.

很抱歉出现菜鸟问题.

删除了C#标记并从主题行中删除了与C#不相关的内容

By what they can do I mean....

I learned via the basic tutorial I have that via iostream.h, I can use cin and cout, to output and input data to the console.

But, how would I learn the functions of say D3D11.h?

I realise there is a big step in between a simple console program and direct X 11 apps/games or even a win32 app. But for the question that will serve as an example.

If there is a website that states the functions or you can just point me in the right direction that would be great.

Sorry for the noob question.

Removed C# tag and from subject line as not related to C#

推荐答案

通过读取头文件来学习任何库的功能都非常困难,因为很少包含任何有意义的文档.如果要了解Microsoft提供的特定功能/组的详细信息,请使用 MSDN [
It is extermely difficult to learn the function of any library by reading the header files, as very few contain any meaningful documentation. If you want details of specific functions/groups provided by Microsoft then use the MSDN[^] pages. For solutions not covered by Microsoft you could try Google. For some great samples and solutions look at the articles here on CodeProject.


正如Richard所说的,这取决于头文件的作者.如果他们在标头中插入了很多说明,那么就可以成为您需要的所有文档.

不幸的是,大多数作者都没有,包括Microsoft作为一般规则.对于Microsofty的所有事情,我建议您在Microsoft网站上查找参考资料,因为它们的资料通常假定您知道一半的行话意味着我会去找一本有关该主题的不错的书.从未使用过Direct3D API,恐怕我不推荐使用.

干杯,

Ash
As Richard said that depends on the author of the header file. If they''ve stuck oodles of description in the header then it can be all the docs you need.

Unfortunately most authors don''t, including Microsoft as a general rule. For all things Microsofty I''d suggest looking on Microsoft''s web site for reference material and because their material usually assumes you know what half the jargon means I''d go and find a decent book on the subject. Never having used the Direct3D API I''m afraid I can''t recommend one.

Cheers,

Ash


除了Richard和Ash所说的以外,请注意 Direct3D 具有相当复杂的体系结构:有关其 API 不够学习如何使用它.
我建议您搜索有关 DirectX 的很好的教程(在这里我找到了一个有关 DirectX 9 的教程,但是要学习基础知识,使用哪个版本并不重要:
DirectX Tutorial.com [
In addition to what Richard and Ash have already said, be aware that Direct3D has a quite complex architecture: a good documentation about its API it''s not enough to learn how to use it.
I recommend you to search for a good tutorial about DirectX (here I found one about DirectX 9, but to learn the basics it doesn''t really matter which version is treated: DirectX Tutorial.com[^]), after that go through the MSDN documentation, and finally search CodeProject for articles about the topics you are learning!


这篇关于Noob问题1-我怎么能找到c ++头文件可以做的...如果那有道理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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