View Poll Results: Programming with visual c++ is easier to learn than native c++?
FALSE 2 66.67%
TRUE 1 33.33%
Voters: 3. You may not vote on this poll

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

sarerrdy4live's Avatar, Join Date: Jun 2009
Newbie Member
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?$ChT raitsCRT@D@ATL@@@@@ATL@@HQANQAH@Z) referenced in function "public: void __thiscall CCode10::ODE1RK2(void)" (?ODE1RK2@CCode10@@QAEXXZ)
Attached Files
File Type: zip native diff eqn.zip (35.8 KB, 3 views)
danpe's Avatar, Join Date: Jul 2009
Newbie Member
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
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Try putting you code in the post where you think the problem is and not attach your complete code.
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
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.