|
-
May 6th, 2000, 04:04 AM
#1
Thread Starter
Dazed Member
Does anyone know a way how i could add another string
to a pointer array???
char* pfirstname[]={
"Chris",
"Mike",
};
I like the idea of using an array of pointers rather than an array, but i have no clue how to do this.
cout << "To enter a new entry press 1"<< endl;
if (selection == 1)
{
cout << endl << "Enter you new name here: ";
char* pfirstname[3];
cout << endl;
}
Am i on the right track???
Thanxxxx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|