error in filter design coding

This is a discussion on error in filter design coding within the C++ Programming forums, part of the General Programming Boards category; hello everyone, please anyone could help me to fix these errors.i have tried but im getting so many erors after ...

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    3

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

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,467
    You are failing to include the header that declares Signal.
    The programmerís wife tells him: ďRun to the store and pick up a loaf of bread. If they have eggs, get a dozen.Ē
    The programmer comes home with 12 loaves of bread.


    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
    Posts
    3

    error in filter design coding

    thank you sir.now 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, 09: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, 06:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21