Click here to Skip to main content
15,915,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ class design question - static member Pin
maxsteel13-Jul-04 22:23
maxsteel13-Jul-04 22:23 
GeneralReading special characters like TM in text file Pin
Arvind Jagtap13-Jul-04 19:10
Arvind Jagtap13-Jul-04 19:10 
GeneralRe: Reading special characters like TM in text file Pin
David Crow14-Jul-04 3:29
David Crow14-Jul-04 3:29 
GeneralRe: Reading special characters like TM in text file Pin
Arvind Jagtap14-Jul-04 4:04
Arvind Jagtap14-Jul-04 4:04 
GeneralRe: Reading special characters like TM in text file Pin
Arvind Jagtap14-Jul-04 4:18
Arvind Jagtap14-Jul-04 4:18 
GeneralRe: Reading special characters like TM in text file Pin
David Crow14-Jul-04 8:51
David Crow14-Jul-04 8:51 
GeneralC++ program Pin
bctuthrcls13-Jul-04 19:01
sussbctuthrcls13-Jul-04 19:01 
GeneralRe: C++ program Pin
Weiye Chen13-Jul-04 19:26
Weiye Chen13-Jul-04 19:26 
I supposed you are writing a console application right?

bctuthrcls wrote:
1)Input a string of characters from the keyboard, (up to 20 char max.) Allow the user to enter up to the length of the string (20).

Use _getch. It gets a character from the console without displaying it. You can then use it to limit the number of characters user can enter.

bctuthrcls wrote:
2) Print the string out as entered.

cout

bctuthrcls wrote:
3) Count the number of vowels (incl. upper and lower case)

Hmm, what u mean?

bctuthrcls wrote:
40 Count number of spaces in the string

Use a for loop to check for the space character

bctuthrcls wrote:
Count the number of digits in the string

Same as above. Use isdigit(...)

<font=arial>Weiye Chen
Life is hard, yet we are made of flesh...
GeneralRe: C++ program Pin
ThatsAlok13-Jul-04 20:35
ThatsAlok13-Jul-04 20:35 
GeneralRe: Visual c++ and word automation Pin
Ryan Binns13-Jul-04 18:37
Ryan Binns13-Jul-04 18:37 
GeneralRe: Visual c++ and word automation Pin
tiziacaia13-Jul-04 19:11
tiziacaia13-Jul-04 19:11 
GeneralRe: Visual c++ and word automation Pin
V.13-Jul-04 21:24
professionalV.13-Jul-04 21:24 
GeneralVisual c++ and word automation Pin
tiziacaia13-Jul-04 18:08
tiziacaia13-Jul-04 18:08 
GeneralSimple DLL help needed. (very basic) Pin
Loosehead Len13-Jul-04 17:51
Loosehead Len13-Jul-04 17:51 
GeneralRe: Simple DLL help needed. (very basic) Pin
User 58385213-Jul-04 19:00
User 58385213-Jul-04 19:00 
GeneralRe: Simple DLL help needed. (very basic) Pin
Loosehead Len13-Jul-04 20:44
Loosehead Len13-Jul-04 20:44 
GeneralRe: Simple DLL help needed. (very basic) Pin
mystro_AKA_kokie13-Jul-04 19:15
mystro_AKA_kokie13-Jul-04 19:15 
GeneralRe: Simple DLL help needed. (very basic) Pin
Loosehead Len13-Jul-04 20:45
Loosehead Len13-Jul-04 20:45 
GeneralRe: Simple DLL help needed. (very basic) Pin
mystro_AKA_kokie14-Jul-04 0:50
mystro_AKA_kokie14-Jul-04 0:50 
GeneralFont heights Pin
0v3rloader13-Jul-04 17:16
0v3rloader13-Jul-04 17:16 
GeneralRe: Font heights Pin
Johan Rosengren13-Jul-04 20:00
Johan Rosengren13-Jul-04 20:00 
GeneralRe: Font heights Pin
0v3rloader13-Jul-04 20:37
0v3rloader13-Jul-04 20:37 
GeneralRe: Font heights Pin
Johan Rosengren13-Jul-04 20:47
Johan Rosengren13-Jul-04 20:47 
GeneralRe: Font heights Pin
0v3rloader13-Jul-04 21:27
0v3rloader13-Jul-04 21:27 
Generalabout MPEG4. Pin
Grrrr13-Jul-04 16:37
Grrrr13-Jul-04 16:37 

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.