Click here to Skip to main content
15,920,576 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 4:15
Chuck Vought14-Aug-09 4:15 
AnswerRe: Random Name Generator Pin
David Crow14-Aug-09 4:23
David Crow14-Aug-09 4:23 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 5:06
Chuck Vought14-Aug-09 5:06 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 5:09
David Crow14-Aug-09 5:09 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 5:12
Chuck Vought14-Aug-09 5:12 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 5:15
David Crow14-Aug-09 5:15 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 5:18
Chuck Vought14-Aug-09 5:18 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 5:16
Chuck Vought14-Aug-09 5:16 
Below is what i am trying to do. Does it appear that i am oon the right track anyways.

You can use either a character array or a string to create each first and last name, however, each first and last name must then be stored in an array of names once it has been created. You can use a single array to store both the first and last name, or a single array for each first name and another array for each last name; this is up to you.

Once you have created the array(s) of names, pass it (them) to a function called print_names that prints out 3 names per line to the screen.
example: 67 names with a 5 letter first name and 8 letter last name
AnswerRe: Random Name Generator Pin
David Crow14-Aug-09 5:31
David Crow14-Aug-09 5:31 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 5:55
Chuck Vought14-Aug-09 5:55 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 6:18
Chuck Vought14-Aug-09 6:18 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 6:32
David Crow14-Aug-09 6:32 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 6:59
Chuck Vought14-Aug-09 6:59 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 7:03
David Crow14-Aug-09 7:03 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 7:51
Chuck Vought14-Aug-09 7:51 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 7:53
David Crow14-Aug-09 7:53 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 9:31
Chuck Vought14-Aug-09 9:31 
QuestionRe: Random Name Generator Pin
David Crow14-Aug-09 9:36
David Crow14-Aug-09 9:36 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 9:40
Chuck Vought14-Aug-09 9:40 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 9:45
Chuck Vought14-Aug-09 9:45 
QuestionRe: Random Name Generator Pin
David Crow14-Aug-09 9:47
David Crow14-Aug-09 9:47 
AnswerRe: Random Name Generator Pin
Chuck Vought14-Aug-09 9:52
Chuck Vought14-Aug-09 9:52 
AnswerRe: Random Name Generator Pin
Chuck Vought14-Aug-09 10:26
Chuck Vought14-Aug-09 10:26 
GeneralRe: Random Name Generator Pin
David Crow14-Aug-09 10:37
David Crow14-Aug-09 10:37 
GeneralRe: Random Name Generator Pin
Chuck Vought14-Aug-09 11:00
Chuck Vought14-Aug-09 11:00 

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.