Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNeed help in Multithreading Pin
neha.agarwal2712-Mar-07 18:43
neha.agarwal2712-Mar-07 18:43 
AnswerRe: Need help in Multithreading Pin
ThatsAlok12-Mar-07 19:39
ThatsAlok12-Mar-07 19:39 
AnswerRe: Need help in Multithreading Pin
Ranjoy Guha12-Mar-07 23:19
Ranjoy Guha12-Mar-07 23:19 
QuestionI set warning level = 4, but show some warning? Pin
mfc_dialog12-Mar-07 18:31
mfc_dialog12-Mar-07 18:31 
AnswerRe: I set warning level = 4, but show some warning? Pin
Paresh Chitte12-Mar-07 18:50
Paresh Chitte12-Mar-07 18:50 
QuestionAre there any Windows APIs to get the Cluster IP address? Pin
programvinod12-Mar-07 18:22
programvinod12-Mar-07 18:22 
Questionhave a question for hw, don't know how to do it? Pin
bigtimer102212-Mar-07 17:47
bigtimer102212-Mar-07 17:47 
AnswerRe: have a question for hw, don't know how to do it? Pin
_AnsHUMAN_ 12-Mar-07 19:41
_AnsHUMAN_ 12-Mar-07 19:41 
HomeWork/Assignment?
The solution to your problem is pretty simple. 10-15 lines of code would produce the desired result.So rather than giving the solution here's the logic that you can build over:
1. Ask the user to input a integer.
2. Now you need to check if the integer at 0th index is repeated elsewhere in the number and so on.
3. If the number is repeated increment the count by 1

If you are having problems on how to get the individual numbers from 0-9 out of the number entered here's the logic for that too-
while(temp!=0){
n=temp%10; // temp is the number entered by the user
temp=temp/10;
//// Do something
// Increment count and print it
}


Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

QuestionCreating a Control from a resource Pin
StevenS_Dev12-Mar-07 15:17
StevenS_Dev12-Mar-07 15:17 
AnswerRe: Creating a Control from a resource Pin
prasad_som12-Mar-07 17:53
prasad_som12-Mar-07 17:53 
AnswerRe: Creating a Control from a resource Pin
cmk12-Mar-07 18:02
cmk12-Mar-07 18:02 
AnswerRe: Creating a Control from a resource Pin
StevenS_Dev13-Mar-07 6:36
StevenS_Dev13-Mar-07 6:36 
GeneralRe: Creating a Control from a resource Pin
Mark Salsbery13-Mar-07 7:50
Mark Salsbery13-Mar-07 7:50 
AnswerRe: Creating a Control from a resource Pin
JudyL_MD13-Mar-07 8:51
JudyL_MD13-Mar-07 8:51 
GeneralRe: Creating a Control from a resource Pin
Mark Salsbery13-Mar-07 15:22
Mark Salsbery13-Mar-07 15:22 
GeneralRe: Creating a Control from a resource Pin
StevenS_Dev14-Mar-07 11:16
StevenS_Dev14-Mar-07 11:16 
QuestionListbox and display bitmaps Pin
ibtt112-Mar-07 13:40
ibtt112-Mar-07 13:40 
AnswerRe: Listbox and display bitmaps Pin
Hamid_RT12-Mar-07 19:30
Hamid_RT12-Mar-07 19:30 
AnswerRe: Listbox and display bitmaps Pin
dayuan0812-Mar-07 21:20
dayuan0812-Mar-07 21:20 
QuestionRe: Listbox and display bitmaps Pin
ibtt115-Mar-07 10:36
ibtt115-Mar-07 10:36 
QuestionLVN_ITEMCHANGED and LVS_OWNERDATA issues Pin
Jim Crafton12-Mar-07 10:31
Jim Crafton12-Mar-07 10:31 
AnswerRe: LVN_ITEMCHANGED and LVS_OWNERDATA issues Pin
Ravi Bhavnani12-Mar-07 10:55
professionalRavi Bhavnani12-Mar-07 10:55 
GeneralRe: LVN_ITEMCHANGED and LVS_OWNERDATA issues Pin
Jim Crafton12-Mar-07 11:57
Jim Crafton12-Mar-07 11:57 
Questioninpout32.dll write issue Pin
69 Bay12-Mar-07 10:00
69 Bay12-Mar-07 10:00 
AnswerRe: inpout32.dll write issue Pin
69 Bay12-Mar-07 11:26
69 Bay12-Mar-07 11:26 

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.