Thread: Right or wrong?
View Single Post
  #4 (permalink)  
Old February 5th, 2004, 10:05 PM
Rune Rune is offline
Authorized User
 
Join Date: Feb 2004
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry it's wrong. You are declaring a two-dimensional array. try this
char[ 4 ] [ ] = { { 's', 'p', 'r', 'i', 'n','g'},{'s','u','m','m','e','r'}, {'f','a','l','l'},{'w','i','n','t','e','r'} };
or this
char*[ 4 ] = [ "spring", "summer", "fall", "winter" };

Reply With Quote