了解Ccleaner的代码过程

编程入门 行业动态 更新时间:2024-10-27 14:32:54
本文介绍了了解Ccleaner的代码过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果您要分析代码,套准清理器工具将如何工作?

我不是在这里询问特定的代码...我只是想知道粗略地解释了例如Ccleaner之类的工具的代码正在工作。

之所以这样问,是因为我想创建有关Ccleaner工具的类图。 / p>

但是,当然对于Ccleaner来说,您将需要源代码..我们都知道ccleaner的源代码没有正常权限

但是,如果有人知道有任何注册表和PC清洁器工具可以用来清理计算机上的混乱情况以及如何清理注册表...这将帮助我大量的时间来创建类图。

感谢

解决方案

这在很大程度上取决于您设计应用程序的方式(因为这看起来像是设计练习,而不是其他任何东西。)

首先,我建议您列出您的要求。说像ccleaner太宽泛了。只需列出您系统需要实现的功能列表,然后尝试将这些列表分解为较小的职责即可。还提供了候选对象列表,并尝试在这些对象之间分配职责,之后您可以开始思考自己的结构以及如何组织它们(组成,关联,继承关系)。好的物品既不是贫乏的(负责任的0)也不是敬虔的(要做的事情很多)

这大概是做到这一点的一种方法。没有完美的设计,也没有单个类图可以回答这个问题。

How does a Register cleaner tool works if you would analyze the code ?

I'm not asking for specific code here...I'm just wondering the code for a tool like Ccleaner for instance is working, roughly explained.

The reason why I ask this is because I want to create an class diagram about the Ccleaner tool.

But ofcourse for Ccleaner specificly you would need the source code..and we all know no normal has acces to the source code of ccleaner

But if anyone know's any registery and pc cleaner tool is getting to it to clean up the mess on your computer and how it's cleaning up your registery...it would help me big time to create an class diagram.

Thanx

解决方案

It depends much on how you design your application (because this looks like a design exercise more than anything).

First I would recommend you to list down your requirements. Saying "like ccleaner" is just way too broad. Just come up with a list of functionality you need your system to achieve and try to break down such list into smaller responsibilities. Also come up with a list of candidate objects and try to distribute your responsibilities in between those objects, after that you can start thinking in your structure and how to organize them (composition, association, inheritance relationships). Good objects are not anemic (0 responsibily) nor godly (a tons of stuff to do)

That roughly is a way to do it. There is no perfect design nor "a single class diagram" that might answer this question.

更多推荐

了解Ccleaner的代码过程

本文发布于:2023-07-30 00:46:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1245054.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:过程   代码   Ccleaner

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!