|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
求 No such file or directory解决
代码如下
#include <stdio.h>
#include "ssebtr1.h"
int main()
{
int nl, zgxl, BPM, i;
printf("请输入你的年龄:");
scanf("%d", &nl);
zgxl == 220 - nl;
BPM == 150;
playSound(BPM);
i = getHeartRate();
if(i > zgxl)
{
printf("请马上停止跑步,否则会有生命危险...");
}
else if(i > zgxl * 0.85 && i <= zgxl)
{
printf("请放慢脚步");
BPM == 150 - 20;
playSound(BPM);
}
else if(i < zgxl * 0.75)
{
printf("Come on , 请加快节奏!");
BPM == 150 + 20;
playSound(BPM);
}
else
{
playSound(BPM);
}
return 0;
} |
|