error in filter design coding
-
hello everyone, i need help to fix these errors..when i tried to fix it im getting more errors..please help me. #ifndef _Convert_h #define _Convert_h Waveform SignalToWaveform(const Signal& s); Signal WaveformToSignal(const Waveform& w); ComplexWaveform WaveformToComplexWaveform(const Waveform& w); Waveform ComplexWaveformMagToWaveform(const ComplexWaveform& c); Waveform ComplexWaveformRealToWaveform(const ComplexWaveform& c); #endif 3.cpp c:\vc98\include\convert.h(4) : error C2143: syntax error : missing ',' before '&' c:\vc98\include\convert.h(4) : error C2059: syntax error : '&' c:\vc98\include\convert.h(5) : error C2146: syntax error : missing ';' before identifier 'WaveformToSignal' c:\vc98\include\convert.h(5) : error C2501: 'Signal' : missing storage-class or type specifiers c:\vc98\include\convert.h(5) : fatal error C1004: unexpected end of file found Error executing cl.exe. 3.exe - 5 error(s), 0 warning(s)
-
hello everyone, i need help to fix these errors..when i tried to fix it im getting more errors..please help me. #ifndef _Convert_h #define _Convert_h Waveform SignalToWaveform(const Signal& s); Signal WaveformToSignal(const Waveform& w); ComplexWaveform WaveformToComplexWaveform(const Waveform& w); Waveform ComplexWaveformMagToWaveform(const ComplexWaveform& c); Waveform ComplexWaveformRealToWaveform(const ComplexWaveform& c); #endif 3.cpp c:\vc98\include\convert.h(4) : error C2143: syntax error : missing ',' before '&' c:\vc98\include\convert.h(4) : error C2059: syntax error : '&' c:\vc98\include\convert.h(5) : error C2146: syntax error : missing ';' before identifier 'WaveformToSignal' c:\vc98\include\convert.h(5) : error C2501: 'Signal' : missing storage-class or type specifiers c:\vc98\include\convert.h(5) : fatal error C1004: unexpected end of file found Error executing cl.exe. 3.exe - 5 error(s), 0 warning(s)
Signal datatype is not declared with in this scope
-
Signal datatype is not declared with in this scope
-
STEP1: find the declaration of Signal, STEP2: if found in some header file STEP3: THEN include it. STEP4: ELSE .... I think u need to be familiar with basic concepts. learn C, C++ well. Ok. could u able to find the declaration of Signal anywhere in source base.
-
STEP1: find the declaration of Signal, STEP2: if found in some header file STEP3: THEN include it. STEP4: ELSE .... I think u need to be familiar with basic concepts. learn C, C++ well. Ok. could u able to find the declaration of Signal anywhere in source base.