Click here to Skip to main content
16,013,918 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing MS Calendar control without resource editor Pin
Anonymous18-Jan-04 20:55
Anonymous18-Jan-04 20:55 
GeneralRe: Using MS Calendar control without resource editor Pin
lynhoo18-Jan-04 21:29
lynhoo18-Jan-04 21:29 
QuestionMFC: customize CFrameWnd background. How? Pin
lobanovski18-Jan-04 20:21
lobanovski18-Jan-04 20:21 
AnswerRe: MFC: customize CFrameWnd background. How? Pin
PJ Arends18-Jan-04 20:39
professionalPJ Arends18-Jan-04 20:39 
GeneralRe: MFC: customize CFrameWnd background. How? Pin
lobanovski18-Jan-04 21:49
lobanovski18-Jan-04 21:49 
GeneralRule Editor code Pin
quzi18-Jan-04 20:02
quzi18-Jan-04 20:02 
GeneralXML-GUI Pin
Jerome Conus18-Jan-04 19:23
Jerome Conus18-Jan-04 19:23 
Generalseparating words in a string Pin
crimsonclear18-Jan-04 19:16
crimsonclear18-Jan-04 19:16 
lets just say that i think my comp sci 1 teacher bought his phd over the internet, cause i didnt learn too much. This is our first assignment for Comp Sci 2 and i'm pretty lost.

heres the problem:

Write a C++ program that will process the user’s full name (i.e., first, middle, and last name –> Joe Bob Allen is an example) and display the name in various ways. There is only one word allowed for the first name and one word allowed for the last name, but the middle name can consist of multiple words. The maximum length of the full name is 75. The maximum length of the first name is 25. The maximum length of the last name is 25.

For the little i do know, i would think it would be easiest just to create a loop that breaks off words at the spaces in the string. We dont actually have to output the middle names, so i'm guessing there would be another loop that starts at the end of the string and works its way up (to get the last name).

Any help would be much appreciated



GeneralRe: separating words in a string Pin
Jijo.Raj18-Jan-04 22:24
Jijo.Raj18-Jan-04 22:24 
GeneralRe: separating words in a string Pin
Sumit Kapoor19-Jan-04 2:17
Sumit Kapoor19-Jan-04 2:17 
GeneralRe: separating words in a string Pin
22491719-Jan-04 2:18
22491719-Jan-04 2:18 
GeneralRe: separating words in a string Pin
David Crow19-Jan-04 2:32
David Crow19-Jan-04 2:32 
Generalclosing an application Pin
misha_grewal18-Jan-04 18:36
misha_grewal18-Jan-04 18:36 
GeneralRe: closing an application Pin
Michael Dunn18-Jan-04 19:41
sitebuilderMichael Dunn18-Jan-04 19:41 
GeneralafxMapHWND() returns null in CWnd::AssertValid Pin
wilsonian18-Jan-04 17:42
wilsonian18-Jan-04 17:42 
GeneralRe: afxMapHWND() returns null in CWnd::AssertValid Pin
Monty218-Jan-04 18:41
Monty218-Jan-04 18:41 
GeneralMemory Management with variables Pin
IceBerG7118-Jan-04 15:13
IceBerG7118-Jan-04 15:13 
GeneralRe: Memory Management with variables Pin
Stefan Pedersen18-Jan-04 15:26
Stefan Pedersen18-Jan-04 15:26 
GeneralRe: Memory Management with variables Pin
IceBerG7118-Jan-04 15:39
IceBerG7118-Jan-04 15:39 
GeneralRe: Memory Management with variables Pin
Mike Dimmick18-Jan-04 23:27
Mike Dimmick18-Jan-04 23:27 
GeneralRe: Memory Management with variables Pin
Gary R. Wheeler18-Jan-04 15:32
Gary R. Wheeler18-Jan-04 15:32 
GeneralRe: Memory Management with variables Pin
SiddharthAtw18-Jan-04 17:18
SiddharthAtw18-Jan-04 17:18 
GeneralUsing ProgressBar in another class Pin
shultas18-Jan-04 14:13
shultas18-Jan-04 14:13 
GeneralRe: Using ProgressBar in another class Pin
David Crow19-Jan-04 2:43
David Crow19-Jan-04 2:43 
Questionhow do i hendel a function when a key is press'd Pin
Bondtje18-Jan-04 13:25
Bondtje18-Jan-04 13:25 

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.