array of random alphabets

hi,can anyy one help me to generate matrix of size 26 x26 through c++ coding , having Alpahbets placed randomly in each row of matrix means each row should hav alphabets placed in random order like
0-N,d,y,A,J,X,D,n,F,z,a,S,g,I,p,a,f,e,v,g,h,V,y,f,e,l
1-N,a,L,o,c,t,E,S,p,d,T,c,H,n,x,y,F,B,S,H,u,e,k,E,b
2-s,a,I,R,w,E,N,e,c,M,e,G,R,o,Z,O,H,u,k,H,B,A,j,E,q,J
3-O,C,d,q,B,c,y,z,J,a,r,k,N,R,O,w,e,o,b,I,d,z,I,d,Q,h
4-s,W,k,F,t,x,I,a,n,k,g,Z,h,P,a,g,V,Y,q,m,v,Q,X,h,I,Z
5-X,m,y,z,k,q,s,I,w,s,Q,W,s,L,i,B,z,T,q,z,y,Q,d,a,O x
6-B,u,a,L,N,s,f,D,b,I,x,G,K,z,v,T,r,w,h,V,a,h,n,B,o,X
7-m,C,U,b,z,t,n,T,C,W,h,u,k,s,B,D,n,A,f,I,d,N,v,d,a,j
8-F,q,t,z,v,f,K,A,t,v,cg,o,I,C,y,d,k,t,b,y,l,D,s,q,T
9-q,I,L,C,P,f,u,w,s,F,w,L,j,n,x,w,e,u,z,h,M,S,B,e,s,k
10-x,v,w,O,A,C,z,j,I,k,l,a,w,n,F,Q,y,q,s,g,t,I,h,x,D,s
11-i,v,x,E,H,B,X,v,r,b,g,H,v,Q,R,b,A,Y,c,G,w,A,z,O,c,r
12-p,e,b,o,y,A,u,M,u,T,z,D,t,n,P,v,E,n,w,s,f,h,E,j,O,z
13-a,u,d,I,J,C,J,d,B,v,g,F,H,k,p,t,x,s,K,T,k,s,w,a,b,d
14-n,P,h,g,c,H,g,u,J,z,V,z,F,J,m,k,ib,Q,z,J,w,o,v,q
15-r,T,a,I,o,y,v,M,S,P,h,V,I,v,E,r,V,k,y,M,k,z,oc,W,D
16-g,A,E,g,Z,s,d,c,d,z,,S,J,L,H,d,T,l,s,c,x,U,j,z,T,v
17-a,g,g,q,o,x,c,I,x,q,s,k,t,v,z,H,C,g,c,a,y,c,t,a,Z,
18-U,b,m,f,q,V,o,x,s,,O,k,n,W,s,k,H,h,W,B,P,n,Y,v,z,B,k
19-o,v,y,D,O,s,j,c,v,m,E,R,s,r,o,U,p,j,g,V,Q,o,V,d,e
20-L,e,H,n,p,t,N,x,z,J,I,P,v,t,n,g,N,Z,r,e,Y,B,,h,e,u,w,
21-p,I,R,L,n,e,I,Z,c,r,,u,x,Q,n,a,v,j,r,V,z,v,l,k,q,W,o
22-f,t,I,W,,V,q,I,a,P,E,W,D,A,L,t,q,P,L,k,B,z,J,I,b,X,v
23-t,B,N,z,c,J,P,E,g,z,e,k,p,N,u,m,Y,M,f,b,y,U,G,I,z,j
24-G,b,x,V,U,a,T,h,I,c,D,x,w,f,I,j,k,N,h,s,C,t,U,o,q,e
25-p,u,a,j,n,t,X,D,N,F,z,a,S,g,I,p,a,f,e,v,g,h,V,y,f,e,z,


plz help me in this thanks
The examples you provide are not what I would call "alphabets placed in random order". I would interpret that to mean the letters A through Z arranged in random order. Instead they look like 26 random mixed case alphabetic characters. Is that the goal?
wel as u can c that alpabets from a to z are placed randomly its not necessary to hav alphabets from a throught z we are just required to hav 26 alpabets even reapeating in bot smal and upper case plz help if any can i hope it is clear now thanks
every char in UTF-8 can be converted to a number. Check the table at:

http://en.wikipedia.org/wiki/UTF-8

If you use a random number generator, you can generate a random number and cast it to char to become a random letter. Here's a reference for random number generator in C++

http://www.cplusplus.com/reference/clibrary/cstdlib/rand/

Cheers :)
[ Message removed ]

Sorry, TheDestroyer, I got carried away with the help.
Last edited on
With all due respect, it's not good when you solve someone's homework...
Topic archived. No new replies allowed.