#include<iostream>
#include<string>
#include<conio.h>
using namespace std;
int main(){
string array[5][5];
int i=0,j=0;
string z[5]={"abdg","ygur","guqh","asdf","sent"};
for(i=0;i<5;i++)
for(j=0;j<4;j++)
{ array[i][j]=z[i][j];
cout<<"\narr[][]="<<array[i][j];}
for(i=0;i<5;i++)
cout<<"\narr="<<array[i]<<endl; //this z not workin.WHY??...PLZ HELP!
getch();
return 0;
}
rdx05 0 Newbie Poster
ravenous 266 Posting Pro in Training
Lucaci Andrew 140 Za s|n
rdx05 commented: thanx a lot.... +0
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
rizwan93 0 Newbie Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
rdx05 0 Newbie Poster
Lucaci Andrew 140 Za s|n
rizwan93 0 Newbie Poster
Lucaci Andrew 140 Za s|n
rdx05 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.