|
-
February 20th, 2003, 12:40 AM
#3
There are a lot of concepts that in I haven't learned yet in my curriculum. The problem that I am doing says without including <cstring> write a function that accepts three stings, first name middle name and last name and return one string with the for last, first, middle inital. My example is wrong and that was my question, how to make it correct and to make it work so that when i do return a char array and output the function in main it outputs the char array i returned. My question is how to do that. We haven't been exposed to std::string yet so I don't know what that is. Right now, I think my professors lesson is working with pointers and arrays together. Although for this problem it might be inefficent, it's what I was asked to do.
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
|