Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 22:06
MsmVc4-Apr-10 22:06 
GeneralRe: error C2440 Pin
Adam Roderick J4-Apr-10 22:21
Adam Roderick J4-Apr-10 22:21 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 22:31
MsmVc4-Apr-10 22:31 
GeneralRe: error C2440 Pin
Game-point4-Apr-10 22:45
Game-point4-Apr-10 22:45 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 23:11
MsmVc4-Apr-10 23:11 
GeneralRe: error C2440 Pin
Emilio Garavaglia5-Apr-10 21:04
Emilio Garavaglia5-Apr-10 21:04 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 21:12
MsmVc5-Apr-10 21:12 
GeneralRe: error C2440 Pin
Emilio Garavaglia5-Apr-10 21:46
Emilio Garavaglia5-Apr-10 21:46 
Ok, that's the problem. Now try to come to an algorithmic solution.
That doesn't need to be C or C++, just pseudocode.
Only when you find your algorithm looks meaningful, try to code it!

Than: the problem is not well formed. Do you want only two char-s combination? Does the input string needs to be 3 char-s wide or can it be whatever?
Be sure about that: you risk to produce a code that works on a very specific case, while looking for something more generic.

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


GeneralRe: error C2440 Pin
MsmVc5-Apr-10 22:00
MsmVc5-Apr-10 22:00 
GeneralRe: error C2440 Pin
Emilio Garavaglia5-Apr-10 22:10
Emilio Garavaglia5-Apr-10 22:10 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 22:13
MsmVc5-Apr-10 22:13 
AnswerRe: error C2440 Pin
Fareed Rizkalla4-Apr-10 23:12
Fareed Rizkalla4-Apr-10 23:12 
GeneralRe: error C2440 Pin
MsmVc4-Apr-10 23:28
MsmVc4-Apr-10 23:28 
GeneralRe: error C2440 Pin
Fareed Rizkalla5-Apr-10 4:14
Fareed Rizkalla5-Apr-10 4:14 
GeneralRe: error C2440 Pin
MsmVc5-Apr-10 19:13
MsmVc5-Apr-10 19:13 
QuestionHow can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 19:58
Le@rner4-Apr-10 19:58 
AnswerRe: How can generate Max. Combination of given Value? Pin
Adam Roderick J4-Apr-10 20:02
Adam Roderick J4-Apr-10 20:02 
GeneralRe: How can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 20:19
Le@rner4-Apr-10 20:19 
GeneralRe: How can generate Max. Combination of given Value? Pin
Adam Roderick J4-Apr-10 21:01
Adam Roderick J4-Apr-10 21:01 
GeneralRe: How can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 21:24
Le@rner4-Apr-10 21:24 
GeneralRe: How can generate Max. Combination of given Value? Pin
Adam Roderick J4-Apr-10 21:35
Adam Roderick J4-Apr-10 21:35 
GeneralRe: How can generate Max. Combination of given Value? Pin
Le@rner4-Apr-10 21:39
Le@rner4-Apr-10 21:39 
GeneralRe: How can generate Max. Combination of given Value? Pin
CPallini5-Apr-10 0:11
mveCPallini5-Apr-10 0:11 
Questioncombinations repetition allowed Pin
MsmVc4-Apr-10 19:33
MsmVc4-Apr-10 19:33 
AnswerRe: combinations repetition allowed Pin
CPallini5-Apr-10 0:13
mveCPallini5-Apr-10 0:13 

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.