Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Open the COM Port on Windows CE Device Pin
Randor 2-Sep-14 12:14
professional Randor 2-Sep-14 12:14 
QuestionRe: C++ Open the COM Port on Windows CE Device Pin
CPallini2-Sep-14 20:25
mveCPallini2-Sep-14 20:25 
AnswerRe: C++ Open the COM Port on Windows CE Device Pin
leon de boer2-Sep-14 21:53
leon de boer2-Sep-14 21:53 
GeneralRe: C++ Open the COM Port on Windows CE Device Pin
CPallini2-Sep-14 21:59
mveCPallini2-Sep-14 21:59 
QuestionHow to fix the first column of a CListView in MFC Pin
sma123#31-Aug-14 23:57
sma123#31-Aug-14 23:57 
AnswerRe: How to fix the first column of a CListView in MFC Pin
David Crow2-Sep-14 3:50
David Crow2-Sep-14 3:50 
QuestionAnother academic question - ANSI C standard on optional function parameters Pin
Vaclav_31-Aug-14 8:01
Vaclav_31-Aug-14 8:01 
AnswerRe: Another academic question - ANSI C standard on optional function parameters Pin
Richard MacCutchan31-Aug-14 20:47
mveRichard MacCutchan31-Aug-14 20:47 
AnswerRe: Another academic question - ANSI C standard on optional function parameters Pin
CPallini1-Sep-14 4:24
mveCPallini1-Sep-14 4:24 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Vaclav_1-Sep-14 5:33
Vaclav_1-Sep-14 5:33 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Richard MacCutchan1-Sep-14 6:52
mveRichard MacCutchan1-Sep-14 6:52 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Vaclav_1-Sep-14 7:55
Vaclav_1-Sep-14 7:55 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
CPallini1-Sep-14 9:39
mveCPallini1-Sep-14 9:39 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Richard MacCutchan1-Sep-14 21:23
mveRichard MacCutchan1-Sep-14 21:23 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Vaclav_2-Sep-14 8:11
Vaclav_2-Sep-14 8:11 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Richard MacCutchan2-Sep-14 20:31
mveRichard MacCutchan2-Sep-14 20:31 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Vaclav_6-Sep-14 5:59
Vaclav_6-Sep-14 5:59 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Richard MacCutchan6-Sep-14 6:10
mveRichard MacCutchan6-Sep-14 6:10 
GeneralRe: Another academic question - ANSI C standard on optional function parameters Pin
Stefan_Lang2-Sep-14 21:11
Stefan_Lang2-Sep-14 21:11 
AnswerRe: Another academic question - ANSI C standard on optional function parameters Pin
Stefan_Lang2-Sep-14 0:52
Stefan_Lang2-Sep-14 0:52 
QuestionHow to Resolve the Below Error? Pin
Sunil931-Aug-14 5:37
Sunil931-Aug-14 5:37 
AnswerRe: How to Resolve the Below Error? Pin
«_Superman_»31-Aug-14 6:04
professional«_Superman_»31-Aug-14 6:04 
GeneralRe: How to Resolve the Below Error? Pin
Sunil931-Aug-14 18:23
Sunil931-Aug-14 18:23 
Questionhow to print the value of variable which is define in header file.? Pin
mybm129-Aug-14 21:14
mybm129-Aug-14 21:14 
#ifndef _MFCC_DEFINES_H_
#define _MFCC_DEFINES_H_

#define PI 3.1415926536
#define framesize1 20
#define frameshift1 10
#define DFT_POINT 1024
#define NUM_OF_FILTER 22
#define NUM_OF_COEFFICIENTS 13
#define NUM_OF_GAUSSIANS 1024 /*1024=POW(2,NODES)*/
#define NUM_OF_MIX 512
#define TOTAL_MODEL 13312 /*13312=NUM_OF_GAUSSIANS*NUM_OF_COEFFICIENTS*/
#define EPS 0.01
#define THRESHOLD 0.01
#define NODES 10 /* Total no of nodes******/
#define NUM_OF_SPEAKERS 30
#define FILE_NAME_LENGTH 30
#define SPEAKERIDSTART 9000
#define FIVESPEAKERS 5
#define VALID "V" // Valid
#define INVALID "I" // Invalid
#define CHANNELFLAG 0 // If CHANNELFLAG is 1 Cepstral Mean Substraction will be done.
#define SIZE_FULLPATH 150
#define maxtrain 20 // number of train model
#define maxtest 1000 // number of testing wav file

#define now_test "./"
#define curenttraingtest "./curentlist1.txt"
#define testpath "./"
#define result12 "./result04.txt";



#define SPEECH_NONSPEECH "./speech_nonspeech.txt" // Consists boolean array of size equal to total no. of frames, for a speeched frame value is 1 and for nonspeeched frame value is 0.
#define NO_SPEECH_FRAMES "./no_speech_frames.txt"
#define STARTING_POINT "./starting_point.txt"
#define END_POINT "./end_point.txt"

#define ID_EXTENSION "_AM03MENR" // Common extension to all the speaker ID's. AM03MENR - session(A) OnlineMobile(M03) (M)ultienvironment (EN)glish (R)eading
#define FILE_EXTENSION ".wav" // File name extension for wave file
#define AVR_ENR "./avr_enr.txt"


#define PATH_TEXT "./" // Path to the directory which contains all the text files
#define PATH_TRAIN "/home/ast9/text_independent/recorded_files/train/"// Path to the directory which contains all the recorded training files
#define PATH_TEST "/home/ast9/text_independent/recorded_files/test/" // Path to the directory which contains all the recorded testing files
#define PATH_TEXT_MULTI "/home/ast9/textfiles/" //Path to the directory which contains all the multilevel text files.
#define PATH_COUNT "/home/ast9/textfiles/count.txt" //Path to the directory which contains count.txt file.
#define spechmfcc "./"

char * mfcc_computation(char *id, int, char *fullpath_input, int,int,int,int,int);
#endif

here is the header.h code.
From this if i try to print the NUM_OF_COEFFICIENTS in main program using
coefficients=(details.NUM_OF_COEFFICIENTS);
printf("Num of ceptral coefficients=%d",coefficients);
but error is generating undeclared details.

modified 30-Aug-14 5:58am.

AnswerRe: how to print the value of variable which is define in header file.? Pin
Richard MacCutchan29-Aug-14 22:57
mveRichard MacCutchan29-Aug-14 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.