在C中绘制月相 [英] draw moon phase in C

查看:148
本文介绍了在C中绘制月相的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,我想用C图形显示月相程序...
程序应该很简单..
它只是显示步骤...

sir, i want to show the moon phase program in c graphics...
program should be simple..
its simply show the steps...

推荐答案

如何执行此操作将取决于C包中可用的库!所以我不能给你代码...

基本思想很简单-尽管在.NET中您实际上不能使用它,但这里有一篇文章可以做到这一点,因为它不支持C: ^ ]
但是,该代码应该为您提供一种基本的机制-您将必须提供所有用户界面位,并仅使用后台的制定实际阶段"内容.
How you do this is going to depend on what libraries you have available in your C package! So I can''t give you the code...

The basic idea is pretty simple - there is an article here which does it, albeit in .NET which you can''t actually use becasue it doesn''t support C: Calculate and Draw Moon Phase[^]
The code should give you a basic mechanism though - you would have to provide all the user interface bits and just use the background "work out the actual phase" stuff.


这篇关于在C中绘制月相的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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