Click here to Skip to main content
15,925,202 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how to change the size of a static text by programming Pin
CPallini24-Jul-08 9:46
mveCPallini24-Jul-08 9:46 
AnswerRe: how to change the size of a static text by programming Pin
DSPCottage24-Jul-08 9:49
DSPCottage24-Jul-08 9:49 
QuestionHow to make a CStatic control to support mouse selection( can be copied) Pin
Junchi Tang24-Jul-08 7:27
Junchi Tang24-Jul-08 7:27 
AnswerRe: How to make a CStatic control to support mouse selection( can be copied) Pin
Mark Salsbery24-Jul-08 7:34
Mark Salsbery24-Jul-08 7:34 
GeneralRe: How to make a CStatic control to support mouse selection( can be copied) Pin
Junchi Tang24-Jul-08 9:45
Junchi Tang24-Jul-08 9:45 
GeneralRe: How to make a CStatic control to support mouse selection( can be copied) Pin
CPallini24-Jul-08 9:51
mveCPallini24-Jul-08 9:51 
GeneralRe: How to make a CStatic control to support mouse selection( can be copied) Pin
Rajesh R Subramanian19-Aug-08 19:34
professionalRajesh R Subramanian19-Aug-08 19:34 
GeneralRe: How to make a CStatic control to support mouse selection( can be copied) Pin
CPallini19-Aug-08 20:58
mveCPallini19-Aug-08 20:58 
JokeRe: How to make a CStatic control to support mouse selection( can be copied) Pin
Rajesh R Subramanian19-Aug-08 22:08
professionalRajesh R Subramanian19-Aug-08 22:08 
GeneralRe: How to make a CStatic control to support mouse selection( can be copied) Pin
CPallini19-Aug-08 22:21
mveCPallini19-Aug-08 22:21 
GeneralRe: How to make a CStatic control to support mouse selection( can be copied) Pin
Stephen Hewitt24-Jul-08 15:56
Stephen Hewitt24-Jul-08 15:56 
QuestionWhere to put registration data? Pin
robotz24-Jul-08 7:24
robotz24-Jul-08 7:24 
AnswerRe: Where to put registration data? Pin
vikas amin24-Jul-08 11:35
vikas amin24-Jul-08 11:35 
GeneralRe: Where to put registration data? Pin
robotz24-Jul-08 22:13
robotz24-Jul-08 22:13 
Questionlogic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
NiceNaidu24-Jul-08 4:24
NiceNaidu24-Jul-08 4:24 
AnswerRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
David Crow24-Jul-08 4:42
David Crow24-Jul-08 4:42 
Keep an array of words and occurances, something like:

struct
{
    string strWord;
    int nCount;
};
For each word that you encounter, look it up in the array. If it's found, increment the associated count. If it's not found, add it.

"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
NiceNaidu24-Jul-08 6:04
NiceNaidu24-Jul-08 6:04 
QuestionRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
David Crow24-Jul-08 6:05
David Crow24-Jul-08 6:05 
AnswerRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
NiceNaidu24-Jul-08 6:13
NiceNaidu24-Jul-08 6:13 
GeneralRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
David Crow24-Jul-08 6:16
David Crow24-Jul-08 6:16 
GeneralRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
NiceNaidu24-Jul-08 6:26
NiceNaidu24-Jul-08 6:26 
GeneralRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
David Crow24-Jul-08 7:39
David Crow24-Jul-08 7:39 
JokeRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
Maximilien24-Jul-08 8:22
Maximilien24-Jul-08 8:22 
GeneralRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
NiceNaidu24-Jul-08 18:59
NiceNaidu24-Jul-08 18:59 
AnswerRe: logic: Find out whether a string has duplicates in a string array (pure C++,no MFC supported) Pin
Stephen Hewitt24-Jul-08 15:19
Stephen Hewitt24-Jul-08 15:19 

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.