没有合适的资源?快使用搜索试试~ 我知道了~
这是一个家庭财务关系系统。。界面还可以。。也想功能不是很完善可是还行
资源推荐
资源详情
资源评论
# include <stdio.h>
# include <windows.h>
# include <io.h>
# include <dos.h>
# include <conio.h>
# include <time.h>
# include <math.h>
typedef struct manage{
char recordtime[20];
char buytime[20];
char things[20];
int money;
struct manage*next;
} Node,*Joint;
Node* Initlist()
{
Joint head;
head=(Node*)malloc(sizeof(Node));
head->next=NULL;
return head;
}
void nowtime(char a[])
{
time_t t;
time(&t);
strcpy(a,ctime(&t));
printf("Today's date and time: %s\n", a);
}
# include <windows.h>
# include <io.h>
# include <dos.h>
# include <conio.h>
# include <time.h>
# include <math.h>
typedef struct manage{
char recordtime[20];
char buytime[20];
char things[20];
int money;
struct manage*next;
} Node,*Joint;
Node* Initlist()
{
Joint head;
head=(Node*)malloc(sizeof(Node));
head->next=NULL;
return head;
}
void nowtime(char a[])
{
time_t t;
time(&t);
strcpy(a,ctime(&t));
printf("Today's date and time: %s\n", a);
}
void goxy(int nX, int nY)
{
HANDLE hCon;//定义一个句柄
hCon = GetStdHandle(STD_OUTPUT_HANDLE); //获得输出设备的句柄
COORD setps; //定义结构体变量
setps.X = nX;
setps.Y = nY;
SetConsoleCursorPosition(hCon,setps); //定位
}
void frame(int x, int y, int width, int height)
{
for(int nI = 0; nI < height; nI++) //行数
{
for(int nJ = 0; nJ < width*2; nJ += 2) //列数,width*2中文符号占两位
{
goxy(x + nJ, y + nI);
if(nI == 0 || nJ == width*2 - 2 || nJ == 0 || nI == height - 1)
{
//只打印四个边
if(nI == 0 && nJ == 0 ) //左上的拐角
{
printf("┏");
}
{
HANDLE hCon;//定义一个句柄
hCon = GetStdHandle(STD_OUTPUT_HANDLE); //获得输出设备的句柄
COORD setps; //定义结构体变量
setps.X = nX;
setps.Y = nY;
SetConsoleCursorPosition(hCon,setps); //定位
}
void frame(int x, int y, int width, int height)
{
for(int nI = 0; nI < height; nI++) //行数
{
for(int nJ = 0; nJ < width*2; nJ += 2) //列数,width*2中文符号占两位
{
goxy(x + nJ, y + nI);
if(nI == 0 || nJ == width*2 - 2 || nJ == 0 || nI == height - 1)
{
//只打印四个边
if(nI == 0 && nJ == 0 ) //左上的拐角
{
printf("┏");
}
剩余5页未读,继续阅读
资源评论
renbin5566
- 粉丝: 10
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab开发的全面详解LTE:MATLAB建模、仿真与实现-simulink.rar
- 自动驾驶定位系列教程二:系统架构.pdf
- 整站程序8优技巧网-8ujq.rar
- 世界各个国家或地区国际域名缩写
- 基于matlab开发的根据rvm回归模型自己编的matlab程序.rar
- 基于matlab开发的该程序为国内一所大学编写的LTE链路层仿真程序,根据LTE标准协议编写的,很容易看懂.rar
- 高效C++学生成绩管理系统:教育技术+C++17编程+数据管理+教务自动化
- 搜索链接要广告分类系统 v2.0-yad20.rar
- 基于matlab开发的Tipping的相关向量机RVM的回归MATLAB程序,有英文注释,可以运行.rar
- 一个点击正反转程序实例,可实现案件电机正反转
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功