与指针,OOD和C ++斗争 [英] struggling with pointers, OOD and C++

查看:64
本文介绍了与指针,OOD和C ++斗争的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[这篇文章是从comp.object开始的。标题为挣扎着

Design-Paradigms但是在Daniel T.的帮助下,它向着学习C ++的有意义的路径走去了。我得到了帮助,所以为了帮助其他新手,

i我在这里张贴:-)]


谢谢

[ this post was started from "comp.object" titled "struggling with
Design-Paradigms" but witht he help of Daniel T. it drifted towards a
meaningful path to learn C++. i was helped, so to help other newbies,
i am posting it here :-) ]

thanks

推荐答案

[发布者:arnuld]

hai all,


首先,谢谢对于回复,到我之前的帖子,现在用

你的帮助(comp.object人们:-)混乱已经消失,我是

非常清楚我的目标,但我仍有一些困难。我将是

简要说明:


i确实理解变量,对象,函数的含义,因为我已经完成了一些Lisp,b $ b做了一些Lisp,所以我可以说我不是一个完整的新手。是的,我有

也写了一些琐碎的程序,我可以理解为程序员编写的书籍(比如Ruby编程)但不能理解书籍

为经验丰富的程序员编写(如Stroustrup的TC ++ PL

3 / e)。因为我从来没有在某个公司做任何专业编码

所以我认为自己是初学者。我想直接去OOD(没有

学习任何其他类似程序范式的东西或算法)。


这是正确的方法吗?


i将使用C ++寻找工作,但搜索档案

这个新闻组告诉我这不是一个好主意。因此,可以通过路径获得



OOA-D - 使用Eiffel / Ruby的OOP - C ++





谢谢

[posted by "arnuld"]
hai all,

1st of all, thanks for the replies, to my earlier post, and now with
your help (the comp.object folks :-) the confusion has gone, i am
very clear on my goals but still i have some difficulties. i will be
brief:

i do understand the meaning of variables,objects,function as i have
done some Lisp, so i can say i am not a complete newbie. yes, i have
written some trivial programes too and i can understand books written
for programmers (like Programming Ruby) but cannot understand books
written for for much experienced programmers (like Stroustrup''s TC++PL
3/e). since i have never done any professional coding at some company
so i consider myself a beginner.i want to go directly to OOD (without
learning any anything else like procedural paradigm or algorithms).

Is this right way?

i will be looking for a job using C++ but searching the archives of
this newsgroup tells me that is not a good idea. hence, is it OK to
go to through path:

OOA-D - OOP using Eiffel/Ruby - C++

?

thanks


[由Daniel T.发布]

http://www.parashift.com/c++-faq-lit....html#faq-28.3
[posted by "Daniel T."]

http://www.parashift.com/c++-faq-lit....html#faq-28.3


[由arnuld发布]
[posted by arnuld]
http://www.parashift.com/c++-faq-lit....html#faq-28.3



Daniel,我读了那个,这对我不起作用:-(

i我自2006年11月以来一直在努力学习C ++。已经过去3个月了

然后我不是甚至能够理解第6章中的桌面计算器程序

。我在comp.lang.c ++中讨论了它并且没有为我工作

。当我试图理解结构时在5.7节中,我用指向char的指针点击

,完全出于我的想法:-(,我只有

试图学习程序方面的C ++,类概念从来没有对我有任何意义,所以我总是在C ++中避免使用它。我认为可以直接学习C ++而不需要学习C ++在他跳到C ++之前理解指针(也可能是b $ b结构)和OOD。


BTW,它当我看到C ++常见问题解答链接时,这是一个非常好的时刻。你是

还在努力帮助,好的Daniel T


: - )

Daniel, i read that and that is not working for me :-(
i am trying to learn C++ since Nov, 2006. it has been 3 months since
then and i am not even able to understand the Desk calculator program
in chapter 6. i discussed it at "comp.lang.c++" and that did not work
for me. when i tried to understand "Structures" in section 5.7, i hit
with "pointers to char", totally out of my head :-(, and i have only
tried to learn the procedural aspect of C++, the "class concept" never
made any sense to me, so i always avoided it in C++. i think one can
not learn C++ directly, one needs to understand "pointers" (may be
"structures" too) & "OOD" before he jumps to C++.

BTW, it was quite a good moment when i saw the "C++ FAQ" link. you are
still trying to help, nice Daniel T

:-)


这篇关于与指针,OOD和C ++斗争的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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