Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. error in filter design coding

error in filter design coding

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++design
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashwiny
    wrote on last edited by
    #1

    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)

    R 1 Reply Last reply
    0
    • A ashwiny

      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)

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      Signal datatype is not declared with in this scope

      A 1 Reply Last reply
      0
      • R Rajkumar R

        Signal datatype is not declared with in this scope

        A Offline
        A Offline
        ashwiny
        wrote on last edited by
        #3

        so what shall i do now sir?im kind of blur.

        R 1 Reply Last reply
        0
        • A ashwiny

          so what shall i do now sir?im kind of blur.

          R Offline
          R Offline
          Rajkumar R
          wrote on last edited by
          #4

          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.

          A 1 Reply Last reply
          0
          • R Rajkumar R

            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.

            A Offline
            A Offline
            ashwiny
            wrote on last edited by
            #5

            thank you sir.now i can run the code.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups