Hello will someone please help!! Here is the assignment
• Using a function with the header below, pass it arguments in main, alter ary1 contents and display ary2 contents in the function definition. Display the contents of ary1 in main after the function is called.
void arrayTst(int ary1[], const int ary2[], int sizeAry1, int sizeAry2)
• Ask for, get and display a first name (with no spaces), immediately followed by ask for, get and display a full name (with no spaces).
• Implement string concatenation and assigning one string to another string.
• Implement multiple string and c-string class functions.
This is what I have so far:
#include <iostream>
#include <string>
#include <cstring>
using namespace std;
void arrayTst(int ary1[], const int ary2[], int sizeAry1, int sizeAry2);
int main ()
{
char firstName[15];
char fullName[30];
string myName = "Nicole.";
cout << "Input first name and press enter:";
cin >> firstName;
cout <<endl << "You have entered:"
<< firstName << endl << endl;
cout << "Input full name with no spaces and press enter:";
cin >> fullName;
cout << endl << " You have entered:" << full name << endl << endl;
string = string2;
cout << str1 << endl;
string::size_type len;
len = str1.length ();
cout << "str1.length () is 41? " << len << endl << endl;
Please help!!!