一种学习C ++计算机编程的新书 [英] A new kind of book to learn C++ computer programming

查看:61
本文介绍了一种学习C ++计算机编程的新书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我写了一本使用C ++的计算机编程书。

这本书适合计算机编程领域的初学者,

但它也可能为更有经验的

程序员提供有用的想法。在我的书中,计算机程序以非常简单易读的方式呈现。要了解

的含义,请阅读

http://www.naturalprogramming.com/cppbook.html


在那里你可以找到免费的打印样本页面和其他

有用的信息。


我希望在这个新闻组中宣传

书是符合道德标准的。
< br $>
此致,

先生(博士)Kari Laitinen

芬兰奥卢理工学院


I have written a computer programming book that uses C++.
The book is for beginners in the field of computer programming,
but it might give useful ideas also for more experienced
programmers. Computer programs are presented in a very
easy-to-read way in my book. To find out what that exactly
means, please read the pages at

http://www.naturalprogramming.com/cppbook.html

There you can find free sample pages for printing and other
useful information.

I hope that it is ethically correct to advertize the
book in this newsgroup.

Sincerely,
Mr. (Dr.) Kari Laitinen
Oulu Institute of Technology, Finland

推荐答案

2003年9月11日星期四14:25:02 + 0300,Kari Laitinen< ka *********** @ oamk.fi>写道:
On Thu, 11 Sep 2003 14:25:02 +0300, Kari Laitinen <ka***********@oamk.fi> wrote:

我编写了一本使用C ++的计算机编程书。
本书适用于计算机编程领域的初学者,但是它也可能为更有经验的程序员提供有用的想法。计算机程序在我的书中以非常容易阅读的方式呈现。要找出确切含义的内容,请阅读

http://www.naturalprogramming.com/cppbook.html

在那里,您可以找到免费的打印样本页面以及其他有用的信息。 />
我希望在这个新闻组中宣传
书在道德上是正确的。

I have written a computer programming book that uses C++.
The book is for beginners in the field of computer programming,
but it might give useful ideas also for more experienced
programmers. Computer programs are presented in a very
easy-to-read way in my book. To find out what that exactly
means, please read the pages at

http://www.naturalprogramming.com/cppbook.html

There you can find free sample pages for printing and other
useful information.

I hope that it is ethically correct to advertize the
book in this newsgroup.




哦是的它是(尽管一般是垃圾邮件)我不赞成。


我简要介绍了第5章。


您可能想要使用标准C ++,例如< iostream>,而不是

预标准C ++,< iostream.h>。你用了几年时间写了这本书,是吗?否则看起来不错。



Oh yes it is (although spam in general is frowned on).

I looked briefly at chapter 5.

You might want to use standard C++, e.g. <iostream>, instead of
pre-standard C++, <iostream.h>. It took you some years to write that
book, yes? Otherwise looks good.


2003年9月11日星期四14:25:02 + 0300,Kari Laitinen< ka ******** ***@oamk.fi>写道:
On Thu, 11 Sep 2003 14:25:02 +0300, Kari Laitinen <ka***********@oamk.fi> wrote:

我写了一本使用C ++的计算机编程书。

I have written a computer programming book that uses C++.




我看到的第一个完整的程序是:


---

#include< iostream.h>


int main()

{

cout<< 我是一个简单的计算机程序。 ;

}

---


为什么不< iostream>和std :: cout?什么是我的假设

是一本新书,而不是使用该语言的现代用法?


没有终止换行符在许多

平台上为迷茫的用户做好准备。


后来在婚礼日期中程序我看到:


#include< iostream.h>

#include< sstream>

#include<字符串>


这是旧的和新的奇怪混合。


加上该程序然后使用''string''not' 'std :: string''因此

不会编译......


-

Sam Holden



The first complete program I saw was:

---
#include <iostream.h>

int main()
{
cout << "I am a simple computer program." ;
}
---

Why not "<iostream>" and std::cout? What''s the point of what I assume
is a new book, not using the modern usage of the language?

No terminating newline is going to make for confused users on many
platforms.

Later on in the "weddingdates" program I see:

#include <iostream.h>
#include <sstream>
#include <string>

Which is a strange mix of the old and the new.

Plus that program then uses ''string'' not ''std::string'' and hence
won''t compile...

--
Sam Holden




我花了大约7年的时间写这本书。

我决定使用< ; iostream.h>而不是< iostream>因为

就这样我不必说在每个程序的开头使用命名空间std;

。放弃这个声明

我想让第一个节目少一点

让初学者感到困惑。

I have spent about 7 years in writing the book.
I decided to use <iostream.h> instead of <iostream> because
that way I did not have to say using namespace std ;
at the beginning of every program. By dropping this statement
I wanted to make the first programs a little bit less
confusing for a beginner.

You might want to use standard C++, e.g. <iostream>, instead of
pre-standard C++, <iostream.h>. It took you some years to write that
book, yes? Otherwise looks good.



这篇关于一种学习C ++计算机编程的新书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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