hi ,i am trying to append some strings using 2 string array and for loop but i couldnt make it
something like this
#include "stdafx.h"
#include "stdlib.h"
#include "iostream"
using namespace std;
#define size 20
int _tmain(int argc, _TCHAR* argv[])
{
string dd[size]={"woody","tom"};
string d[size]={"allen","cruse"};
for(int i=0;i<=4;i++){
string temp[size];
for(int k=0;k<=4;k++){
dd[i]+=d[k];
cout<<dd;
}
}
system("pause");
}