![]() |
|
#11
|
|||
|
|||
|
Well i asked my teacher if i was done, and he was like no you finshed too fast i think your ready for a C++ project. My project is creating a really crappy phonebook, where the user inputs the amount of names they are entering. Then the names it self. After that your suppose to rearrange those names by the LAST letter of the name. Say you entered two names Genesis, Zack, and Sephiroth Normally you would output it through the first letter style order like.... Genesis, Sephiroth, than Zack. INSTEAD its suppose to be by the last letter so..... Sephiroth, Zack, than Genesis. So far I got up tro the part where you have to type in the names or input. But this is where i get stuck, how am i suppose to declare the same amount of char (String) variables as the number the user inputted? && How am i suppose to rearrange them by the last letter? I was thinking using somekind of IF statement, but i truely have no idea. Thanks Alot! Please ask if you need clarification!
__________________
![]() Embrace your dreams, and always protect your soldier honour! Which Final Fantasy Character Are You? |
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|