求大神帮忙?想用c语言做个录音程序,查询网络资料说调用winmm.lib库就可以搞定,可是编译的时候总是说找不到 winmm.lib库,纠结了很久,无解。

残月angel 2017-03-21 04:51:40
这是我的代码
#include "stdio.h"
#include <stdlib.h>

#include <Windows.h>
#include "mmsystem.h"
#pragma comment(lib, "winmm.lib")


void run();
void file();
char str[3];
main()
{
run();
}

void run(){
int count;
count=waveInGetNumDevs();
getchar();
}



只要能帮我顺利调用winmm.lib这个库就可以了
新手,拜托大家了
...全文
128 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
ooolinux 2017-03-21
  • 打赏
  • 举报
回复
参考: C语言(C++)Win32控制台下播放声音 http://blog.163.com/tab_98/blog/static/1192409720164156552991/

69,381

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧