3,881
社区成员
发帖
与我相关
我的任务
分享
void mfcc(string AudioName)
{
FILE *sourcefile;
//ofstream outfile1("yuanshi.txt"); //这里已经打开流了
////cout<<AudioName<<endl; 此时可以输出 yuanshi.txt
//这个函数里把上面两句注释掉试试
sourcefile=fopen(AudioName.c_str (),"rb"); // 这里又打开? 想干啥?
if(sourcefile==NULL)
{
cout<<"Can't open yuanshi.txt"<<endl;
exit(0);
}
[/quote]
那个outfile1,之后还要用与处理数据(即打开的wav文件),这只是代码的片段。
http://bbs.csdn.net/topics/390540418?page=1#post-395235690 这个是新帖,有劳。[/quote]
我看新帖子去, 这个帖子结了吧!
左上角 左下角都有结贴的! 是个好习惯![/quote]
好的,有劳。真心感谢。。。
结贴的话,别人对我更正后的的回复我怕看不到。。。[/quote]
新贴已经回复了, 你过去看看,改成过来试试吧!
void mfcc(string AudioName)
{
FILE *sourcefile;
//ofstream outfile1("yuanshi.txt"); //这里已经打开流了
////cout<<AudioName<<endl; 此时可以输出 yuanshi.txt
//这个函数里把上面两句注释掉试试
sourcefile=fopen(AudioName.c_str (),"rb"); // 这里又打开? 想干啥?
if(sourcefile==NULL)
{
cout<<"Can't open yuanshi.txt"<<endl;
exit(0);
}
[/quote]
那个outfile1,之后还要用与处理数据(即打开的wav文件),这只是代码的片段。
http://bbs.csdn.net/topics/390540418?page=1#post-395235690 这个是新帖,有劳。[/quote]
我看新帖子去, 这个帖子结了吧!
左上角 左下角都有结贴的! 是个好习惯![/quote]
好的,有劳。真心感谢。。。
结贴的话,别人对我更正后的的回复我怕看不到。。。
void mfcc(string AudioName)
{
FILE *sourcefile;
//ofstream outfile1("yuanshi.txt"); //这里已经打开流了
////cout<<AudioName<<endl; 此时可以输出 yuanshi.txt
//这个函数里把上面两句注释掉试试
sourcefile=fopen(AudioName.c_str (),"rb"); // 这里又打开? 想干啥?
if(sourcefile==NULL)
{
cout<<"Can't open yuanshi.txt"<<endl;
exit(0);
}
[/quote]
那个outfile1,之后还要用与处理数据(即打开的wav文件),这只是代码的片段。
http://bbs.csdn.net/topics/390540418?page=1#post-395235690 这个是新帖,有劳。[/quote]
我看新帖子去, 这个帖子结了吧!
左上角 左下角都有结贴的! 是个好习惯!
void mfcc(string AudioName)
{
FILE *sourcefile;
//ofstream outfile1("yuanshi.txt"); //这里已经打开流了
////cout<<AudioName<<endl; 此时可以输出 yuanshi.txt
//这个函数里把上面两句注释掉试试
sourcefile=fopen(AudioName.c_str (),"rb"); // 这里又打开? 想干啥?
if(sourcefile==NULL)
{
cout<<"Can't open yuanshi.txt"<<endl;
exit(0);
}
[/quote]
那个outfile1,之后还要用与处理数据(即打开的wav文件),这只是代码的片段。
http://bbs.csdn.net/topics/390540418?page=1#post-395235690 这个是新帖,有劳。
void mfcc(string AudioName)
{
FILE *sourcefile;
//ofstream outfile1("yuanshi.txt"); //这里已经打开流了
////cout<<AudioName<<endl; 此时可以输出 yuanshi.txt
//这个函数里把上面两句注释掉试试
sourcefile=fopen(AudioName.c_str (),"rb"); // 这里又打开? 想干啥?
if(sourcefile==NULL)
{
cout<<"Can't open yuanshi.txt"<<endl;
exit(0);
}