阅读其他人的代码 [英] reading other peoples code

查看:66
本文介绍了阅读其他人的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,在阅读了一些C ++书籍并编写了一些涵盖

核心的程序之后,我从哪里开始,说能够阅读一些开放的

源代码 ?当你不熟悉电话,风格等时,你如何解开其他人的代码呢?有没有工具可以分析

/显示程序结构?有没有讨论这类话题的论坛,因为我猜这不是真正合适的小组。

OK, after reading some C++ books and writing some programs that cover
the core, where do I go from there, to say be able to read some open
source code ? How do you unravel other peoples code when you are not
familiar with the calls, style etc ? Are there any tools for analysing
/ displaying a program structure ? Are there any forums that discuss
such topics, because I guess this is not really the right group.

推荐答案

vf***@talktalk.net 写道:

好的,在阅读了一些C ++书籍并编写了一些涵盖

核心的程序之后,我从哪里开始,说能够阅读一些开放的
源代码?
OK, after reading some C++ books and writing some programs that cover
the core, where do I go from there, to say be able to read some open
source code ?



网上没有足够的开源项目吗?你有没有尝试过
,比如,*谷歌搜索*为什么?

Not enough open source projects for you on the web? Have you actually
tried, like, *googling* for them?


当你不是时,你如何解开其他人的代码? />
熟悉电话,风格等?
How do you unravel other peoples code when you are not
familiar with the calls, style etc ?



阅读时你会变得熟悉。但是经常,希望你会看到

相对较快,一个程序是一个程序,风格并不重要。

You get familiar while reading. But often, and hopefully you will see
that relatively soon, a program is a program, style doesn''t really matter.


是否有任何工具可以分析/显示程序结构?

Are there any tools for
analysing / displaying a program structure ?



可能有。 *我甚至找不到一个可以做一个体面的工作的b $ b工作。当然,*我*没有时间去寻找它们。虽然

在同一个项目上工作了一段时间但是停止欣赏那些工具

因为一个人学习了项目的结构并且那些工具不是

需要,最常见的。

There probably are. *I* couldn''t find even one that would do a decent
job of it. Of course, *I* just don''t have time to look for them. While
working on the same project for some time one stops appreciating those tools
because one learns the structure of the project and those tools are not
needed, most often.


是否有讨论此类主题的论坛

,因为我猜这不是真的

右组。
Are there any forums
that discuss such topics, because I guess this is not really the
right group.



这些主题是什么?样式?工具?哪里可以找到开源项目?


V

-

请在回复时删除资金''A'电子邮件

我没有回复最热门的回复,请不要问

What topics are those? Style? Tools? Where to find open source projects?

V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask



vf *** @ talktalk.net 写道:

vf***@talktalk.net wrote:

好​​了,看了一些C ++书籍并编写了一些涵盖

核心的程序,我从那里去哪里,以便能够阅读一些开放的
源代码?当你不熟悉电话,风格等时,你如何解开其他人的代码呢?有没有工具可以分析

/显示程序结构?有没有讨论这类话题的论坛,因为我觉得这不是真正合适的群体。
OK, after reading some C++ books and writing some programs that cover
the core, where do I go from there, to say be able to read some open
source code ? How do you unravel other peoples code when you are not
familiar with the calls, style etc ? Are there any tools for analysing
/ displaying a program structure ? Are there any forums that discuss
such topics, because I guess this is not really the right group.



任何团体都可以讨论任何话题,因为它是有益的恕我直言。


从简单的编程开始,如小型控制台基于应用程序。(我开始用

python与curphoo)

至于从哪里开始阅读该程序是关注..这是一个

tougie。

我自己怀疑多年了,终于和我在我的发行版的论坛上找到了一个。它说从包含main()的cpp文件开始。

Cos在整个app中只能有一个main()。读取程序如果

u遇到一个新方法,读取头文件/库/另一个C ++

文件(大多数名称与func定义的头部名称相同)定义了函数。忘记其他功能。

这样阅读,很快你将学习大部分的编程电话。

然后阅读剩下的标题来浏览函数

在那里宣布。

正如我想说的那样

阅读程序必须递归

一切顺利


ScriptDevil写道:
ScriptDevil wrote:
vf * **@talktalk.net 写道:
vf***@talktalk.net wrote:

>好了,看了一些C ++书籍并编写了一些涵盖核心的程序,我从那里去哪里,说能够阅读一些开放的源代码?当你不熟悉电话,风格等时,你如何解开其他人的代码?是否有用于分析/显示程序结构的工具?是否有讨论此类主题的论坛,因为我猜这不是真正的正确组合。
>OK, after reading some C++ books and writing some programs that cover
the core, where do I go from there, to say be able to read some open
source code ? How do you unravel other peoples code when you are not
familiar with the calls, style etc ? Are there any tools for
analysing / displaying a program structure ? Are there any forums
that discuss such topics, because I guess this is not really the
right group.



任何群体都可以讨论任何话题,因为它是有益的恕我直言。


any group can discuss any topic AS LONG AS IT IS BENEFICIAL IMHO.



首先,请不要大喊大叫。找到一种不同的强调方式。


其次,时事性定义*什么是有益的*。试图分开

这两件事会对任何新闻组造成严重破坏,而且一般来说就是Usenet,因此是一个不好的因素(tm)。所以,如果它不是主题,它不是由任何

意味着有益,根据定义。


这并不是说C ++风格偏离主题。这并不是说

命名允许你更好地理解代码的工具是偏离主题的。

只是不要问如何使用它们,因为那是偏离主题的。


关于在哪里找到要阅读的开源项目......来吧!

First of all, please don''t SHOUT. Find a different way of emphasising.

Second, the topicality defines *what is beneficial*. Trying to separate
those two things will wreak havoc in any newsgroup, and Usenet in general,
and therefore is a BAD IDEA(tm). So, if it''s not topical it''s not by any
means beneficial, by definition.

That is not to say that C++ style is off-topic. It''s not to say that
naming the tools that allow you to understand code better is off-topic.
Just don''t ask how to use them, because that is off-topic.

As to where to find open source projects to read... Come on!


[..关于递归探索源代码剪切的好建议..]
[.. good advice on recursive exploration of source code snipped ..]



那里没有分歧。


V

-

请在通过电子邮件回复时删除资金''A'

我没有回复最热门的回复,请不要问

No disagreement there.

V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask


这篇关于阅读其他人的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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