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
basementman19-Jun-03 8:06
basementman19-Jun-03 8:06 
GeneralRe: MFC with message map versus old method Pin
Cambalindo19-Jun-03 9:54
Cambalindo19-Jun-03 9:54 
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 
How would I go about to solve this problem?

I have to write a text analysis program that will calculate and output the overall number of words, characters, and lines within a text file. Also, have to calculate how many characters are alphabetic, numeric, and punctuation.
It has to be in C++. Thanks.

Sample Output:

The text file consisted of 2 lines
The text file consisted of 27 words
The text file consisted of 128 characters
Alphabetic: 100
Numeric: 12
Punctuation: 8
Other: 8

Mark J Jackson
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 
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 

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.