使用UML对C语言编程 [英] Using UML for C programming

查看:852
本文介绍了使用UML对C语言编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发基于标准规范的嵌入式软件。
该软件是很大的,我需要我的软件开始编码之前的设计。
该UML是一种面向对象的语言,可能是一个解决方案,但我不知道如何使用它对于C软件。

I'm developing an embedded software based on standard specification. The software is big and I need a design of my software before start coding. the UML is an object-oriented language and could be a solution but I don't know how to use it for C softwares.

在那里,这有助于使用UML对C语言编程的任何文件?
还是有对C软件另一种设计语言?

are there any document which help to use UML for C programming ? or are there another design language for c softwares ?

问候

推荐答案

是的,你可以的,主要是因为两个原因,:

Yes, you can, mostly because of two reasons:


  • 您可以真正做到对象用C面向对象编程(虽然它是乏味和并不完全可取的),有少数的图书上,你可以阅读的主题。

  • 您仍然可以使用类图来的数据结构和静态方法建模。但UML不只是类图:你也有状态图,交互图,用例图......他们都是结构化编程太有用

  • You can actually do Object Oriented Programming with C (although it is tedious and not completely advisable), there a few books on the subject that you can read.
  • You can still use class diagrams to model data structures and static methods. But UML is not just about class diagrams: you also have state diagrams, interaction diagrams, use case diagrams... And they are useful for structured programming too.

这篇关于使用UML对C语言编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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