Error 1 error LNK2019: unresolved external symbol "void __cdecl calcCelsius(double)" (?calcCelsius@@YAXN@Z) referenced in function _main
aukeebler
0
Newbie Poster
Recommended Answers
Jump to PostThis means that the compiler cannot find the definition of the function calcCelsius that matches the prototype:
void calcCelsius(double); // the "_cdecl" thing is just the default calling convention.
So either you didn't provide a definition for that function, or your definition doesn't match the prototype exactly, …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.