Thread: error in filter design coding

  1. #1
    Registered User
    Join Date
    Feb 2008

    error in filter design coding

    hello everyone,

    please anyone could help me to fix these errors.i have tried but im getting so many erors after that.thank you very much.

    #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);

    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)

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    You are failing to include the header that declares Signal.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Registered User
    Join Date
    Feb 2008

    error in filter design coding

    thank you i can run the code ready.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. which design is better to wrap another class instance
    By George2 in forum C++ Programming
    Replies: 7
    Last Post: 04-13-2008, 12:27 AM
  2. Replies: 1
    Last Post: 12-30-2007, 10:08 AM
  3. Implementing Inheritence into your design
    By bobthebullet990 in forum C++ Programming
    Replies: 6
    Last Post: 08-05-2006, 04:40 PM
  4. Desing and Coding
    By vasanth in forum C# Programming
    Replies: 5
    Last Post: 02-28-2003, 07:36 PM