i am totally new to the c++ arena.
i have been tasked with writing a program that asks for a number, asks for that many names, in the form, "last, first," sorts the names by last name, but displays them in the form, "first, last," then offers the user the chance to search for a first name.
i don't want someone to do it for me, but i am having trouble getting started.
i know i need a multi-dimensional array system.
how do i initialize it if i don't know how many names there will be?
if i want to write a sort function, how to i call a multi-dimensional array and return a new array from it?
this project has inspired me to switch majors.
sjewenp 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Lerner 582 Nearly a Posting Maven
SpS commented: Good ~SpS +3
sjewenp 0 Newbie Poster
iamthwee
Lerner 582 Nearly a Posting Maven
iamthwee commented: good advice +11
sjewenp 0 Newbie Poster
iamthwee
Lerner 582 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.