求各位大神帮忙把这个C++改成C啊,很急哦~~~万分感谢!!

[复制链接]
查看11 | 回复3 | 2013-1-1 01:29:06 | 显示全部楼层 |阅读模式
//the unit of time is minute#include#include#include#include#include#define PAY 200//插队的费用#define maxDurt 200#define minDurt 20#define maxInter 10int grade[100];//编号为N的理发师级别为grade[N-1]int sum[3];//sum[0]: the income of first-grade barberint empty[100];//empty[...
回复

使用道具 举报

千问 | 2013-1-1 01:29:06 | 显示全部楼层
/ /时间单位为分钟#包括 包括 包括 的#include包括 定义付款200 / /插队的费用定义maxDurt 200 定义minDurt 20 定义maxInter 10 诠释级[100] ;/ /的数N美发师级级[N-1]int总和[3] ;/ /总[0]:第一级理发的收入...... />诠释空[...
回复

使用道具 举报

千问 | 2013-1-1 01:29:06 | 显示全部楼层
头文件全部加上.h把using那句标准库编程去掉。文件名称更改文.c编译-运行。...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行