Click here to Skip to main content
15,913,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher20-Jun-03 5:28
John M. Drescher20-Jun-03 5:28 
GeneralRe: MFC with message map versus old method Pin
Cambalindo20-Jun-03 7:17
Cambalindo20-Jun-03 7:17 
GeneralRe: MFC with message map versus old method Pin
Cambalindo20-Jun-03 7:19
Cambalindo20-Jun-03 7:19 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher20-Jun-03 7:26
John M. Drescher20-Jun-03 7:26 
GeneralRe: MFC with message map versus old method Pin
John M. Drescher20-Jun-03 5:20
John M. Drescher20-Jun-03 5:20 
Generalhelp in C++ Pin
Mark J Jackson19-Jun-03 4:29
Mark J Jackson19-Jun-03 4:29 
GeneralRe: help in C++ Pin
AlexO19-Jun-03 4:38
AlexO19-Jun-03 4:38 
GeneralRe: help in C++ Pin
David Crow19-Jun-03 10:19
David Crow19-Jun-03 10:19 
CString strLine;
CStdioFile file(...);
int nLineCount = 0,
nAlphaCount = 0;
while (file.ReadString(strLine) == TRUE)
{
nLineCount++;

for (x = 0; x < strLine.GetLength(); x++)
{
if (isalpha(strLine[x]))
{
nAlphaCount++;
}
else if (isdigit(strLine[x]))
{
nDigitCount++;
}
...
}
}

// to count characters (or count them above as each character is analyzed)
int nCharCount = file.GetLength();

GeneralThread Pin
Gandilf19-Jun-03 4:09
Gandilf19-Jun-03 4:09 
GeneralRe: Thread Pin
AlexO19-Jun-03 4:18
AlexO19-Jun-03 4:18 
GeneralRe: Thread Pin
AlexO19-Jun-03 4:22
AlexO19-Jun-03 4:22 
GeneralRe: Thread Pin
Gandilf19-Jun-03 4:48
Gandilf19-Jun-03 4:48 
GeneralRe: Thread Pin
AlexO19-Jun-03 5:35
AlexO19-Jun-03 5:35 
GeneralRe: Thread Pin
Ryan Binns19-Jun-03 4:22
Ryan Binns19-Jun-03 4:22 
GeneralRe: Thread Pin
Jonathan Craig19-Jun-03 5:09
Jonathan Craig19-Jun-03 5:09 
GeneralRe: Thread Pin
Jonathan Craig20-Jun-03 3:37
Jonathan Craig20-Jun-03 3:37 
GeneralRe: Thread Pin
Brian Delahunty19-Jun-03 7:57
Brian Delahunty19-Jun-03 7:57 
GeneralRe: Thread Pin
David Crow19-Jun-03 10:22
David Crow19-Jun-03 10:22 
GeneralCSpinButtonCtrl Pin
#realJSOP19-Jun-03 3:54
professional#realJSOP19-Jun-03 3:54 
GeneralRe: CSpinButtonCtrl Pin
David Chamberlain19-Jun-03 4:05
David Chamberlain19-Jun-03 4:05 
GeneralRe: CSpinButtonCtrl Pin
#realJSOP19-Jun-03 4:09
professional#realJSOP19-Jun-03 4:09 
GeneralRe: CSpinButtonCtrl Pin
David Chamberlain19-Jun-03 4:19
David Chamberlain19-Jun-03 4:19 
GeneralRe: CSpinButtonCtrl Pin
#realJSOP19-Jun-03 4:35
professional#realJSOP19-Jun-03 4:35 
GeneralRe: CSpinButtonCtrl Pin
David Chamberlain19-Jun-03 4:56
David Chamberlain19-Jun-03 4:56 
GeneralPopup Menu Pin
modular19-Jun-03 3:20
modular19-Jun-03 3:20 

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.