"变量"教程可用(Windows,mingw / msvc) [英] "Variables" tutorial available (Windows, mingw/msvc)

查看:57
本文介绍了"变量"教程可用(Windows,mingw / msvc)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前,我发布了一个Hello,world!教程,在< url:

http://groups.google.no/gr***********************中讨论*******@news.individual.n et> ;.


正如我写的那样:


< quote>

因为似乎缺乏标准后_correct_

教程:< url:http://home.no.net/dubjai/win32cpptut/>。

< / quote>


这是跟进,第02部分,讨论变量(上面提到的目录

包含两个文件,第01部分和第02部分。


我的目标是完整的新手,但正如之前的辩论所显示的那样,即使对于这些基本主题也是如此到目前为止还要学到的东西

更有经验的C ++人员。


我希望自己没有犯过太多错误(; - )),看看

转发更正 - 只是没有它太长了,每个字都很重要。


-

答:因为它弄乱了whi的订单人们通常会阅读文字。

问:为什么这么糟糕?

A:热门帖子。

问:什么是usenet和电子邮件中最烦人的事情是什么?

A few days ago I posted an "Hello, world!" tutorial, discussed in <url:
http://groups.google.no/gr******************************@news.individual.n et>.

As I wrote then:

<quote>
because there seems to be a lack of post-standard _correct_
tutorials: <url: http://home.no.net/dubjai/win32cpptut/>.
</quote>

This is the follow up, part 02, discussing variables (the directory
referred above contains two documents, part 01 and part 02).

I aim at the complete newbie, but as the earlier debate showed, even for
these fundamental topics there were things to be learned also for far
more experienced C++ folks.

I hope I haven''t committed too many errors of my own ( ;-) ), and look
forward to corrections -- just not "it''s too long", every word counts.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

推荐答案

al***@start.no (Alf P. Steinbach)写道:
al***@start.no (Alf P. Steinbach) writes:
几天前,我发布了一个Hello,world!教程,在< url:
http://groups.google.no/gr***************************中讨论***@news.individual.n et>。
正如我写的那样:
< quote>
因为似乎缺乏标准的_correct_
教程:< url:http://home.no .net / dubjai / win32cpptut />。
< / quote>
A few days ago I posted an "Hello, world!" tutorial, discussed in <url:
http://groups.google.no/gr******************************@news.individual.n et>. As I wrote then: <quote>
because there seems to be a lack of post-standard _correct_
tutorials: <url: http://home.no.net/dubjai/win32cpptut/>.
</quote>




将Word文档放到网上以应对缺乏在线后标准

文档对我来说很奇怪。



To put Word docs online to deal with a lack of online post-standard
documentation seems odd to me.


* Tim Love:
* Tim Love:
al *** @ start.no (Alf P. Steinbach)写道:
al***@start.no (Alf P. Steinbach) writes:
几天前我发了一个你好 ,世界!教程,在< url:
http://groups.google.no/gr***************************中讨论***@news.individual.n et>。
A few days ago I posted an "Hello, world!" tutorial, discussed in <url:
http://groups.google.no/gr******************************@news.individual.n et>.


正如我写的那样:


<引用>
因为似乎缺乏标准的_correct_
教程:< url:http://home.no.net/dubjai/win32cpptut/>。
< / quote>
<quote>
because there seems to be a lack of post-standard _correct_
tutorials: <url: http://home.no.net/dubjai/win32cpptut/>.
</quote>



将Word文档放到网上以处理缺少在线标准后的文档对我来说似乎很奇怪。



To put Word docs online to deal with a lack of online post-standard
documentation seems odd to me.




是的,它会有(不缺在线后标准

文档,但显然缺少在线教程)。


我使用Word只是为了方便作为作者;随时生成PDF

和/或XHTML或其他 - 只需包含对可能更新的原始

的引用。


对于第01部分,有人建议(不知道有多严重)他可以将b $ b转换为正确的HTML,但直到有人这样做,我已经对你的反应了

反馈,只需发布​​Word生成的HTML版本,在

Firefox中测试。它有效。但是它并不容易看到...... ;-)


-

答:因为它弄乱了人们通常的顺序阅读文字。

问:为什么这么糟糕?

A:热门帖子。

问:什么是最烦人的usenet和电子邮件中的东西?



Yes, it would be (there _is_ no lack of online post-standard
documentation, but there is an apparent lack of online tutorials).

I use Word just for my convenience as writer; feel free to generate PDF
and/or XHTML or whatever -- just include a reference to the original
which might be updated.

For part 01 someone suggested (don''t know how seriously) he could
convert to proper HTML, but until someone does, I''ve reacted to your
feedback by simply also posting Word-generated HTML versions, tested in
Firefox. It works, sort of. But it''s not easy on the eye... ;-)

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


第7页,欢迎使用C ++,M?lfrid S?bo!应该是

欢迎来到C ++,Malfrid Sabo!因为你试图表明???

改变了......?!?


BTW!

为什么你不是要制作一本完整的书并将其公之于众吗?

GPL可能吗?!?

还有GPL许可的其他好书,但我认为没有关于C ++的好书。 ..

那将是很棒的,因为许多人买不起这些价格相同的C ++书籍花费成本并因此购买CRAPPY

书籍并最终写出CRAPPY代码...... !!

这也可能是强制学校使用你的书而不是

一些糟糕的旧垃圾书教导所有错误的东西...


而且我认为在这样一章中它会也许是适当的

介绍命令行参数...?

所以也许不要从cin解析一些命令行来读取字符串

参数和吐出来......

介绍com可能为时尚早。 line params。,但我认为不是因为你可以推而不是
部分理解向前(指针,

数组等......)

SmartWin中有一个很好的课程(我相信你知道在哪里可以找到它会解析命令行参数...


BTW2!

如果你完成它,请告诉我正在进行公共 (我想你

知道我有什么电子邮件地址;)因为我很想在SmartWin网站

主持它...

SmartWin从C ++新手那里吸引了很多关注,因为它在语法上非常简单,因此有一本关于语言的初学者书籍

那里也很棒!


..t

Page 7, line "Welcome to C++, M?lfrid S?bo!" should probably be
"Welcome to C++, Malfrid Sabo!" since you''re trying to show that ???
changes...?!?

BTW!
Why don''t you make a complete book and make it public?
GPL maybe?!?
There are other good books GPL licensed, but none about C++ I think...
That would be GREAT since many people can''t afford the prices that the
(good) C++ books are costing and as a consequence therefor buy CRAPPY
books and ends up writing CRAPPY code...!!
Also this would probably "force" schools to use YOUR book instead of
some crappy old junk book teaching all the wrong things...

And also I think in such a chapter it would be apropriate to maybe
introduce command line arguments...?
So maybe instead of reading string from cin parse some command line
arguments and "spit out"...
Might be it''s too early to introduce com. line params., but I think not
since you may "push" parts of the understanding forward (pointers,
arrays etc...)

There''s a good class in SmartWin (I believe you know where to find it
;) which parses command line params...

BTW2!
Let me know when you finish it if you''re going "public" (I think you
know what email address I''ve got ;) since I would love to host it at
the SmartWin website...
SmartWin draws alot of attention from C++ newbies since it''s
syntactically very easy so having a beginners book about the language
there too would be awesome!!

..t


这篇关于&QUOT;变量&QUOT;教程可用(Windows,mingw / msvc)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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