设计模式 [英] design patterns

查看:80
本文介绍了设计模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将设计模式应用于c?

解决方案



Jean-pierre Martineau schrieb:
< blockquote class =post_quotes>如何将设计模式应用到c?




首先你必须切换到C ++,

还没有你呢?




Zero写道:

Jean-pierre Martineau schrieb:

如何将设计模式应用到c?



首先你必须切换到C ++,
不是吗?




不一定。也可以在C中进行OO。一些早期的C ++编译器只是为

底层C编译器生成C代码。


但是,仍然没有在这里做OP的话题。

comp.programming组可能是一个更好的起点。


-

BR,Vladimir


使用#include< graphics.h>

借助预先定义的函数你需要获得图形

那里也将在帮助菜单中给出示例


how apply design patterns to c ?

解决方案


Jean-pierre Martineau schrieb:

how apply design patterns to c ?



First you have to switch to C++,
haven''t you?



Zero wrote:

Jean-pierre Martineau schrieb:

how apply design patterns to c ?



First you have to switch to C++,
haven''t you?



Not necessarily. It is possible to do OO in C as well. Some of the
early C++ compilers were actully just producing C code for the
underlying C compiler.

This, however, still does not make the OP topical here. The
comp.programming group might be a better place to start.

--
BR, Vladimir


use #include<graphics.h>
with the help of pre definedfunctions you get required graphics
there will also be examples given in help menu


这篇关于设计模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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