sombody HELP!! me fix this compiler's error on diff eqn

Discussion in 'C' started by sarerrdy4live, Jul 21, 2009.

?

Programming with visual c++ is easier to learn than native c++?

  1. FALSE

    2 vote(s)
    66.7%
  2. TRUE

    1 vote(s)
    33.3%
  1. sarerrdy4live

    sarerrdy4live New Member

    Joined:
    Jun 30, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hey guys,

    i hav being trying for a very long time to design a c++ programme that solves second order differential equations as a final year proj. I got some codes from the resource material i have been working with; i keep getting errors compiling the codes.

    pls i need help debuging this errors. i use visual studio pro edition.

    This is the error:


    1>Code10.obj : error LNK2019: unresolved external symbol "double __cdecl parse(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,int,double * const,int * const)" (?parse@@YANV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@HQANQAH@Z) referenced in function "public: void __thiscall CCode10::ODE1RK2(void)" (?ODE1RK2@CCode10@@QAEXXZ)
     

    Attached Files:

  2. danpe

    danpe New Member

    Joined:
    Jul 21, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Your are declearing "double_cdecl" in header file
    and not defining him or calling him in the .cpp file.

    just do like

    Code:
    void double_cdecl ()
    {
    
    }
    I didnt looked at your code im just guessing
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Try putting you code in the post where you think the problem is and not attach your complete code.
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Why is this posted as a poll?

    Anyway, if you still want poll results, could you explain the difference between Visual C++ and native C++? What exactly is "native C++" in the context of Windows; unlike other OS's you don't usually get a bundled compiler as part of the OS.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice