z***e 发帖数: 5393 | 1 你也莫丢微软的脸了。
这些白痴歪理,有什么好扯?你能升到sr. lead,不是因为你没读phd;有的人做得不
行,不是因为他读过phd.
我看你对这个phd的title似乎很纠结,jeffrey ritcher也没读phd(据我的记忆),他
想嘲笑Texa A&M的bjarne stroustrup是个loser么? |
|
t*****n 发帖数: 4908 | 2 前者是入门,后者是解惑。B. Stroustrup写的书其实不好懂。 |
|
W*******e 发帖数: 1268 | 3 来自主题: WashingtonDC版 - 吃完午饭了 喂马曾哥吧Stroustrup的头像放过来,有啥爆料?是因为看见黑鞋白袜还是被腿长吸引 |
|
X******2 发帖数: 5859 | 4 这本书一个突出的优点就是简洁,能让你了解
一门比较低层的语言而又篇幅简短,拿在手上
放在包里面绝对不会成为累赘。相信作者是把
UNIX的“简单就是美”的设计原则贯彻到书的
写作中。相比之下,STROUSTRUP的那本C++书
就显得太冗长了,拿在手里沉甸甸的让人看下
去的欲望不是很强。
乔不斯和里奇不可相提并论,乔不斯是时尚几
年后就会消失,里奇创立的是计算机科学的里
程碑。 |
|
x****o 发帖数: 21566 | 5 有个打篮球对我说:闭着眼进你们足球训练场,听到的全是污秽语言,“直塞啊!”“
突突突!”“射呀射呀!” 我不服气回应:闭着眼进你们篮球训练场听到的才脏呢,
“上紧逼啊!”“啪啪啪!”“要丢!要丢!”
有个学姐做实验用的是猴子,每次抓一只,轮流做时间长了,就不用她看标号抓了,每
次猴子都会把该轮到做实验的那只推出来……
刚刚又看到新闻说储户存款消失,从几百万到几个亿不等,储户索赔无望,我吓了一跳
,赶紧驱车到银行查查:卡里的150块钱还在,吓死我了。以后再也不看新闻了,心好
累。走出银行一看,妈的自行车没了
高速路刚开始安装雷达的照相的时候,有人上来开快了,照相闪了一下,副驾驶说”开
快点啊,好像起闪电,要下雨啦”于是司机一路猛踩油门,结果不停超速不停闪照相,
副驾驶不停说快点啊,好像闪电打的很厉害啊,要来雨了。。。。回家后不久N张单子
飞来
晚上有个姑娘在电影院门口上车和外头的男朋友道别。她男朋友问她冷不冷,姑娘很淑
女的说:有你在,人家怎么会觉得冷啦摸摸达。结果等她上车关上窗,姑娘扭头我说:
你娘卵泡把人冻死哦,师傅你快点把空调开大点
我一个哥们的女朋友跟一个有钱人跑了,然后怀孕了,... 阅读全帖 |
|
i********e 发帖数: 31 | 6
I'd like to say who knows if there is no Phd requirement. :-)
At least I won't be surprised if Bjarne Stroustrup or James Gosling is
named.
BTW, Can you predict the winners in next a few years? What do you think
in computer science are the most important breakthroughs which have not
been given Turing Award in last 20 years? Just curious.
Engineers"? |
|
w***f 发帖数: 75 | 7 裘宗燕 "C++程序设计语言" ( Chinese translation of Bjarne Stroustrup's
classic)
这本书应该是中译本里的 best of best 了。 |
|
l***e 发帖数: 35 | 8 On the 1st of January 1998, Bjarne Stroustrup gave an interview to the IEEE's 'Computer' magazine. Naturally, the editors thought he would be giving a retrospective view of seven years of object-oriented design, using the language he created.
By the end of the interview, the interviewer got more than he had bargained for and, subsequently, the editor decided to suppress its contents, 'for the good of the industry' but, as with many of these things, there was a leak.
Here is a complete transcript |
|
vi 发帖数: 309 | 9
Thank you so much for the in depth explanation. There is such a long
way to go as I am just start learning; really admire your perspective
understandings. So in the original questions, as the original code is
copy and paste directly from the GNU STL implementation, why do they
use 'protected' here rather than 'private'?
I am reading Stroustrup's The C++ Programming Language. On page 405,
he said 'In particular, declaring data members protected is usually a
design error', and 'protected is a |
|
G*O 发帖数: 706 | 10 比如Bjarne Stroustrup的C++ Programming Language? |
|
l**t 发帖数: 452 | 11 本人以前都是用Fortran,Unix, 还用过点C。现在准备学C++, VC, VB。前两天自己试
着用了VB, 感觉有好多不同的新概念。
精华区介绍的C++有 The C++ Programming Language (2nd edition). Addison Wesley
, 1991.
看了一下amazon, 最近的是 The C++ Programming Language (Special 3rd Edition)
by Bjarne Stroustrup (Hardcover - Feb 15, 2000
VB 基本上在精华区没有介绍。
大家说说看那些书比较好,新。谢谢! |
|
|
m***t 发帖数: 254 | 13 That is absolutely correct. However, that was not the point of the question.
Unfortunately Stroustrup did
not give a ctor for this code snippet, but I assume the reference has been
safely initialized. The main
question i am having is if c is a regular const reference, then c.valid=true
in string_rep will be a violation
of constness, thus resulting in undefined behavior, right? |
|
m***t 发帖数: 254 | 14 So you think c.valid=true is ok? it will not violate the constness of string
_rep() or the constness of s4? The
code is from B. Stroustrup's C++ programming language, 3rd edition, page 233
. |
|
t****n 发帖数: 15 | 15 Thanks thrust and NoDealToday.
Yes, that's what I thought.
But this example is given by Bjarne Stroustrup in his New Casts Revisited (
google New Casts Revisited, in the section 4). Maybe it is a typo?
not
of
*> |
|
|
|
r*********e 发帖数: 29495 | 18 哪位大侠有如下书籍的电子版,或者下载地址,多谢
The Annotated C++ Reference Manual by Margaret A. Ellis (Author), Bjarne
Stroustrup (Author)
More Effective C++: 35 New Ways to Improve Your Programs and Designs (
Addison-Wesley Professional Computing Series) (Paperback)
Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd
Edition) (Addison-Wesley Professional Computing Series) by Scott Meyers
Algorithms in C++, Parts 1-4: Fundamentals, Data Structure, Sorting, Searching (3rd Edition) Sedgewick |
|
b***y 发帖数: 2799 | 19 ☆─────────────────────────────────────☆
nomadlion (C++ NewCop) 于 (Thu Sep 15 18:55:12 2005) 提到:
rt
☆─────────────────────────────────────☆
crystalike (Vader) 于 (Thu Sep 15 19:14:15 2005) 提到:
read stroustrup's programming c++
there is a chap discussing about this
☆─────────────────────────────────────☆
nomadlion (C++ NewCop) 于 (Thu Sep 15 22:20:49 2005) 提到:
查了这本书,没比较C和C++的typing,光说了C++的types.
☆─────────────────────────────────────☆
alexx (panda in love~八胖~饲羊员~水木十年) 于 (Thu Sep |
|
b***y 发帖数: 2799 | 20 ☆─────────────────────────────────────☆
jiangch (呵呵) 于 (Mon Sep 26 15:49:32 2005) 提到:
我比较好奇c++里面如何实现dynamic_cast
比如
B* pb = new B();
void * ptr = pb;
B* p = dynamic_cast(ptr);
具体runtime是如何检查的ptr是指向B类的对象的?
难道C++在每个对象里面都记录了它所属的对象的信息。runtime
environment也必须要有class hierarchy的信息吧。
☆─────────────────────────────────────☆
cdr (可读可写) 于 (Mon Sep 26 16:06:31 2005) 提到:
Stroustrup's book explained it.
dynamic_cast is restricted to polymorphic types,
so the type information can be found with a p |
|
w******g 发帖数: 22 | 21 从水木看来的,
orz 拜一下。
http://www.newsmth.net/bbstcon.php?board=Programming&gid=111974
发信人: Stroustrup (Bjarne), 信区: Programming
标 题: [代征]学舞蹈的大二MM征友
发信站: 水木社区 (Tue Mar 10 14:13:10 2009), 站内
【 以下文字转载自 PieLove 讨论区 】
发信人: debian (GNU), 信区: PieLove
标 题: [代征]学舞蹈的大二MM征友
发信站: 水木社区 (Tue Mar 10 13:53:07 2009), 站内
注1:本贴是代人发帖,请勿回站内。
注2:这个MM是我本科同学的堂妹,我见过2次,很漂亮,有气质,照片是真的。
注3:我很讨厌当媒婆,如果应征,一切后果自负,千万别若干年后离婚了来找我算账。
注4:这个MM家教很严,据说家里人每晚打电话给她。
注5:该MM会写c++程序,在Topcoder上有个蓝色的账号,我很佩服这一点。
注6:这个照片是发到我手机上的,估计是用手机照的,有些模糊。 |
|
w*****j 发帖数: 49 | 22 I installed it. I don't know much about all this stuff. I am learning
Stroustrup's <>. And he use
fltk to teach us GUI. In the code I have already include
.h>. I don't know what I should do. Could you please give me some pointers?
Thank you very much. |
|
w*****j 发帖数: 49 | 23 I read a c++ book written by Stroustrup. He said that a virtual function has
to be redeclared exactly the same way to be overriden. So I wrote a
function that's not exactly the same as in the base class.(It doesn't have "
const") But when I call the function. It's still the function in the derived
calss being called. So does that mean the virtual function hasn't been
overridden? Or is there any other way to explain it? |
|
z****e 发帖数: 2024 | 24 这帖子已经变成玄幻小说了。下边来说说Bjarne Stroustrup在冥界化胡为佛,勇斗
java,perl,python,lisp几个宗师的八门紧锁阵吧。
话说那日,尘头蔽日,旌旗招展,BS大师阴魂不散,率领一干Cpp精锐阴兵,直捣阎罗
殿前面的八门紧锁大阵。。。
一时间,飞沙走石,刀剑乱舞,键盘也生风,鼠标也光辉。阎王也公然不惧,调出独脚
鬼王、七十二洞妖王与四个健将,就于洞门外列成阵势。你看这场混战好惊人也——
寒风飒飒,怪雾阴阴。那壁厢旌旗飞彩,这壁厢戈戟生辉。滚滚盔明,层层甲亮。
滚滚盔明映太阳,如撞天的银磬;层层甲亮砌岩崖,似压地的冰山。大捍刀,飞云掣电
;楮白枪,度雾穿云。方天戟,虎眼鞭,麻林摆列;青铜剑,四明铲,密树排阵。弯弓
硬弩雕翎箭,短棍蛇矛挟了魂。BS一本cpp宝典,翻来覆去战天神。杀得那空中无鸟过
,山内虎狼奔。扬砂走石乾坤黑,播土飞尘宇宙昏。只听兵兵扑扑惊天地,煞煞威威振
鬼神。。。。
欲知后事如何,BS大师强削死籍,且听下回C++1X分解。 |
|
e****d 发帖数: 895 | 25 来自主题: Programming版 - C++0x You can ask Bjarne Stroustrup about who needs C++. |
|
|
m****r 发帖数: 51 | 27 就不要取笑了,已经很懊恼了。
写C++也有几年了,想系统提高一下。是不是这本书本身很晦涩! 还是本人学习方法不
对,实在想请教一下。 |
|
r*********r 发帖数: 3195 | 28 这本书其实是写给 language designer level 的人看的,
至少要学过点 compiler, os, PL 之类的才知道他想要说什么.
如果你自己设计过一个小编程语言的话, 就更能 appreciate 他为什么
花那么大力气设计这么复杂的一个语言. |
|
a****l 发帖数: 8211 | 29 没这么高深吧?这本书是写的好,基本上是做标准看的,那也是没办法,谁让这书是语言的
原作者写的呢?不过一般人也应该是很容易看懂的,看不懂的实在是有问题. |
|
t****t 发帖数: 6806 | 30 这本书是不容易懂, 但是也不难懂. 你需要经常想一想. 不像scott meyers的书不太需
要想, 他都替你想好了.
(当然我不是说看meyers的书就不用想了) |
|
|
|
r*********r 发帖数: 3195 | 33 要是那么好懂的话,这个版上就不会有这么多问c++的了。 |
|
a***n 发帖数: 665 | 34 书读百遍,其意自现。
俺正在读第5遍... 目标是6-10遍,hehe |
|
|
d****p 发帖数: 685 | 36 You are so judgemental.
Language is just a tool, that's right. So complicated or simple, it is up to
who uses it. |
|
g*****g 发帖数: 34805 | 37 Language is to make simple things simple, complicated
things possible. C++ doesn't excel in either statement.
People are forced to focus on the language, not business
logic, that's a waste of time.
to |
|
d***q 发帖数: 1119 | 38
it is one of the best c++ books i ever read...based on my experience, this
book is quite hard to follow without many years experience... |
|
e****d 发帖数: 895 | 39 Doesn't C++ provide a better way to model business logic?
The tradeof of C++'s flexibility is that people need to
spend more time to master it. The downside of C++ is that
it doesn't have as many open source libraries and frameworks
as other languages such as Java. |
|
g*****g 发帖数: 34805 | 40 C++ will be a much better language if it doesn't try to
be compatible with C alone. |
|
D*****r 发帖数: 6791 | 41 Why? I like that. C++ is a language for system programming.
What language would you use to write JVM? |
|
g*****g 发帖数: 34805 | 42 Java can call a native function when it needs to.
But it doesn't mean you have to have C code compiled inside
Java. That's the way I would design C++, C++ is getting abused
with C compatiblity. |
|
e****d 发帖数: 895 | 43 When you said C++ abusing with C compatibility, do you mean
the C++ compiler implementation or the way how developers
use C++? |
|
|
c**b 发帖数: 2999 | 45 其实c++ 的目的还是很明确的.比如helper operators,copy constructors等等,看得出
来c++让程序员自己定义class到自己定义operators.當然,它的堆栈的概念在c语言里就
显得很高妙. 反正看C++的书,很有兴趣. |
|
g*****g 发帖数: 34805 | 46 Both, it makes C++ compiler difficult to develop and maintain.
And of course developer abuse are more visible for individual. |
|
c**b 发帖数: 2999 | 47 还好了,你怎么欺负compiler她都不会打你,脾气已经够好了,比老婆还好,哈哈 |
|
d****p 发帖数: 685 | 48 So C++ is bad since
1. Its compiler is too complicated?
2. Its compability with C makes it easy for C++ coders to write bad code?
And you may need define what C++'s compability with C means.
Don't know how you get these points. Any examples? |
|
e****d 发帖数: 895 | 49 Abusing with global variables, static class data member, static
class member function ? Some examples might help explain it. |
|
g*****g 发帖数: 34805 | 50 Well, haven't been working on C++ for very long.
But that's the feeling I got when reading BS's book.
It's like you don't actually want to use these features
although there are there. And these features being the
C stuff. |
|