Click here to Skip to main content
15,860,859 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBeginning C++ for Windows Application Pin
chipp_zanuff13-Dec-20 6:06
chipp_zanuff13-Dec-20 6:06 
AnswerRe: Beginning C++ for Windows Application Pin
Gerry Schmitz13-Dec-20 6:19
mveGerry Schmitz13-Dec-20 6:19 
QuestionRe: Beginning C++ for Windows Application Pin
Richard MacCutchan13-Dec-20 6:32
mveRichard MacCutchan13-Dec-20 6:32 
Questioncmath.h compile error Pin
Haakon S.9-Dec-20 21:20
Haakon S.9-Dec-20 21:20 
AnswerRe: cmath.h compile error Pin
CPallini9-Dec-20 21:39
mveCPallini9-Dec-20 21:39 
GeneralRe: cmath.h compile error Pin
Haakon S.10-Dec-20 0:51
Haakon S.10-Dec-20 0:51 
GeneralRe: cmath.h compile error Pin
CPallini10-Dec-20 1:16
mveCPallini10-Dec-20 1:16 
AnswerRe: cmath.h compile error Pin
Greg Utas10-Dec-20 1:04
professionalGreg Utas10-Dec-20 1:04 
Use your development environment (VS or whatever) to check that there is a #define for each the following:

NODISCARD
_Check_return_
In
_CSTD

And if you're using C instead of C++, noexcept could be the problem. But I can't say, because I only write C++.

EDIT: D'Oh! | :doh: type 'int' unexpected suggests that the caller is passing an int, not a float.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: cmath.h compile error Pin
Haakon S.10-Dec-20 1:58
Haakon S.10-Dec-20 1:58 
GeneralRe: cmath.h compile error Pin
Greg Utas10-Dec-20 2:19
professionalGreg Utas10-Dec-20 2:19 
SuggestionRe: cmath.h compile error Pin
David Crow10-Dec-20 2:13
David Crow10-Dec-20 2:13 
AnswerRe: cmath.h compile error Pin
Randor 10-Dec-20 2:46
professional Randor 10-Dec-20 2:46 
QuestionRe: cmath.h compile error Pin
Richard MacCutchan10-Dec-20 3:21
mveRichard MacCutchan10-Dec-20 3:21 
AnswerRe: cmath.h compile error Pin
Daniel Pfeffer10-Dec-20 3:53
professionalDaniel Pfeffer10-Dec-20 3:53 
AnswerRe: cmath.h compile error Problem solved Pin
Haakon S.11-Dec-20 4:07
Haakon S.11-Dec-20 4:07 
GeneralRe: cmath.h compile error Problem solved Pin
Randor 11-Dec-20 8:04
professional Randor 11-Dec-20 8:04 
GeneralRe: cmath.h compile error Problem solved Pin
Haakon S.11-Dec-20 23:56
Haakon S.11-Dec-20 23:56 
QuestionC++ class question Pin
pkfox8-Dec-20 6:40
professionalpkfox8-Dec-20 6:40 
AnswerRe: C++ class question Pin
Mircea Neacsu8-Dec-20 6:51
Mircea Neacsu8-Dec-20 6:51 
GeneralRe: C++ class question Pin
pkfox8-Dec-20 7:17
professionalpkfox8-Dec-20 7:17 
AnswerRe: C++ class question Pin
Mircea Neacsu8-Dec-20 7:29
Mircea Neacsu8-Dec-20 7:29 
QuestionRe: C++ class question Pin
David Crow8-Dec-20 7:06
David Crow8-Dec-20 7:06 
AnswerRe: C++ class question Pin
pkfox8-Dec-20 7:16
professionalpkfox8-Dec-20 7:16 
SuggestionRe: C++ class question Pin
David Crow8-Dec-20 7:19
David Crow8-Dec-20 7:19 
AnswerRe: C++ class question Pin
Joe Woodbury8-Dec-20 10:00
professionalJoe Woodbury8-Dec-20 10:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.