1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,276
    Likes Received:
    364
    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,012
    Likes Received:
    203
    Trophy Points:
    0
    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