Hello, I got my array sorted with different words in it
#include <iostream>
#include <ctime>
using namespace std;
int main()
{
cout << "this program will chose a name from a list randomly" << endl;
char holdingArray[5][5] =
{
"John",
"Andy",
"Matt",
"Jane"
};
char chosenBuffer[6]; // holds randon chosen word out of buffer
srand(time(0));
return 0;
}
now I'm stuck.... maybe a little dumb but coulod anyone help? Basically I'm wanting the application to pick a word out of the array randomly and pop it into the buffer?