Array of words(strings)- please help!
Hi!
I want to create a simple program of arranging words in column. I found that this is like array. I know array of characters whereby you define type as char, whereby array elements are characters, now how to declare array of words so that array elements are words? thanks |
the c language:
char *string[5]; string[0] = "just a test"; |
Although a nice guess by dsk ... any particular language here?
It does help if you provide the full picture. |
Quote:
I use c++ tried also string mystring[10]; mystring[0]="Linux Guru"; |
Please mark as SOLVED once you have a solution.
|
All times are GMT -5. The time now is 03:35 PM. |