Click here to Skip to main content
15,567,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 22:12
MsmVc5-Apr-10 22:12 
GeneralRe: error C2440 Pin
Emilio Garavaglia5-Apr-10 22:46
Emilio Garavaglia5-Apr-10 22:46 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 23:00
MsmVc5-Apr-10 23:00 
GeneralRe: error C2440 Pin
Emilio Garavaglia5-Apr-10 23:10
Emilio Garavaglia5-Apr-10 23:10 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 23:13
MsmVc5-Apr-10 23:13 
AnswerRe: error C2440 Pin
Fareed Rizkalla5-Apr-10 0:12
Fareed Rizkalla5-Apr-10 0:12 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 0:28
MsmVc5-Apr-10 0:28 
GeneralRe: error C2440 Pin
Fareed Rizkalla5-Apr-10 5:14
Fareed Rizkalla5-Apr-10 5:14 
i'm not sure if you've attempted to add float to an int data type, but you get compiler errors in the end.
you want to add float and int to each other.

Casting:

int x = 12;
float y = 4.0;
int sum = x + (int)y;
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 20:13
MsmVc5-Apr-10 20:13 
QuestionHow can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 20:58
Le@rner4-Apr-10 20:58 
AnswerRe: How can generate Max. Combination of given Value? Pin
Adam Roderick J4-Apr-10 21:02
Adam Roderick J4-Apr-10 21:02 
GeneralRe: How can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 21:19
Le@rner4-Apr-10 21:19 
GeneralRe: How can generate Max. Combination of given Value? Pin
Adam Roderick J4-Apr-10 22:01
Adam Roderick J4-Apr-10 22:01 
GeneralRe: How can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 22:24
Le@rner4-Apr-10 22:24 
GeneralRe: How can generate Max. Combination of given Value? Pin
Adam Roderick J4-Apr-10 22:35
Adam Roderick J4-Apr-10 22:35 
GeneralRe: How can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 22:39
Le@rner4-Apr-10 22:39 
GeneralRe: How can generate Max. Combination of given Value? Pin
CPallini5-Apr-10 1:11
mveCPallini5-Apr-10 1:11 
Questioncombinations repetition allowed Pin
MsmVc4-Apr-10 20:33
MsmVc4-Apr-10 20:33 
AnswerRe: combinations repetition allowed Pin
CPallini5-Apr-10 1:13
mveCPallini5-Apr-10 1:13 
QuestionCString multiple assignment leak? Pin
TechAvtar4-Apr-10 20:12
TechAvtar4-Apr-10 20:12 
AnswerRe: CString multiple assignment leak? [modified] Pin
LunaticFringe4-Apr-10 20:30
LunaticFringe4-Apr-10 20:30 
AnswerRe: CString multiple assignment leak? Pin
Adam Roderick J4-Apr-10 21:15
Adam Roderick J4-Apr-10 21:15 
GeneralRe: CString multiple assignment leak? Pin
TechAvtar4-Apr-10 22:35
TechAvtar4-Apr-10 22:35 
GeneralRe: CString multiple assignment leak? PinPopular
Adam Roderick J4-Apr-10 22:40
Adam Roderick J4-Apr-10 22:40 
AnswerRe: CString multiple assignment leak? Pin
Joe Woodbury5-Apr-10 7:41
professionalJoe Woodbury5-Apr-10 7:41 

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.