Click here to Skip to main content
15,908,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionModeless and Modal dalog window Pin
durban230-Mar-09 0:01
durban230-Mar-09 0:01 
AnswerRe: Modeless and Modal dalog window Pin
Dieter Hammer30-Mar-09 1:05
Dieter Hammer30-Mar-09 1:05 
Questiononerdrawn CTabCtrl with themes, different XP vs. vista? Pin
Dieter Hammer29-Mar-09 22:26
Dieter Hammer29-Mar-09 22:26 
QuestionRead diffrent formats file in MFC. Pin
Le@rner29-Mar-09 22:16
Le@rner29-Mar-09 22:16 
QuestionRe: Read diffrent formats file in MFC. Pin
CPallini29-Mar-09 22:26
mveCPallini29-Mar-09 22:26 
AnswerRe: Read diffrent formats file in MFC. Pin
Le@rner29-Mar-09 22:28
Le@rner29-Mar-09 22:28 
QuestionRe: Read diffrent formats file in MFC. Pin
CPallini29-Mar-09 22:40
mveCPallini29-Mar-09 22:40 
AnswerRe: Read diffrent formats file in MFC. Pin
Rajesh R Subramanian29-Mar-09 22:49
professionalRajesh R Subramanian29-Mar-09 22:49 
AnswerRe: Read diffrent formats file in MFC. Pin
Pankaj D.Dubey30-Mar-09 0:02
Pankaj D.Dubey30-Mar-09 0:02 
AnswerRe: Read diffrent formats file in MFC. Pin
Hamid_RT30-Mar-09 1:47
Hamid_RT30-Mar-09 1:47 
QuestionPROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
abhishekriyer29-Mar-09 21:56
abhishekriyer29-Mar-09 21:56 
AnswerRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
CPallini29-Mar-09 22:25
mveCPallini29-Mar-09 22:25 
AnswerRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Rajesh R Subramanian29-Mar-09 22:51
professionalRajesh R Subramanian29-Mar-09 22:51 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
abhishekriyer29-Mar-09 23:03
abhishekriyer29-Mar-09 23:03 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Chandrasekharan P30-Mar-09 0:03
Chandrasekharan P30-Mar-09 0:03 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
abhishekriyer30-Mar-09 0:27
abhishekriyer30-Mar-09 0:27 
AnswerRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Rajesh R Subramanian30-Mar-09 0:32
professionalRajesh R Subramanian30-Mar-09 0:32 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Luc Pattyn30-Mar-09 1:28
sitebuilderLuc Pattyn30-Mar-09 1:28 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Chandrasekharan P30-Mar-09 0:54
Chandrasekharan P30-Mar-09 0:54 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
David Crow30-Mar-09 4:06
David Crow30-Mar-09 4:06 
GeneralRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Rajesh R Subramanian30-Mar-09 0:24
professionalRajesh R Subramanian30-Mar-09 0:24 
AnswerRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
Luc Pattyn30-Mar-09 1:31
sitebuilderLuc Pattyn30-Mar-09 1:31 
AnswerRe: PROGRAM TO FIND WHETHER A STRING IS ANAGRAM OR NOT TO SOURCE STRING Pin
josip cagalj30-Mar-09 1:35
josip cagalj30-Mar-09 1:35 
Well, aside from warnings you are getting from others (apply to them please) I'm getting few ideas:
- in anagram all letters must be used (from source string), and only one time (can't re-use the same letter).
Chack for length (without spaces) it must be equal.
Next you can use source string as matching point, start from first letter and check for existing in trial string. If it exist remove it from both strings, if it doesn't your trial string is not an anagram.Preform that operation until you check all letters. If an empty string is what is left than yours trial string is indeed an anagram.
Hope this helps.
QuestionHow to get access right to Registry in Vista Pin
Nitheesh George29-Mar-09 21:54
Nitheesh George29-Mar-09 21:54 
AnswerRe: How to get access right to Registry in Vista Pin
Stuart Dootson29-Mar-09 23:26
professionalStuart Dootson29-Mar-09 23: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.