[ad_1]
I think you are looking for this:
#include<cstdlib>
int v;
for(int i=0; i<10; i++)
{
v = rand() %6;
printf("%s\n", words[v]);
}
1
[ad_2]
solved Outputting to console from Char Array
[ad_1]
I think you are looking for this:
#include<cstdlib>
int v;
for(int i=0; i<10; i++)
{
v = rand() %6;
printf("%s\n", words[v]);
}
1
[ad_2]
solved Outputting to console from Char Array