cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
2 dimensional sttring array, how to give
2 dimensional sttring array, how to give data using {"",""}
Apr 12, 2011 at 10:07am UTC
tonnot
(335)
I have string Mydata[100][5]
I want to do :
Mydata[0]= {"one","two","three","four","five"};
I cannot do this.
ANy help ?
Apr 12, 2011 at 1:03pm UTC
hamsterman
(4538)
You can only initialize things with {} when you declare them.
Apr 12, 2011 at 1:46pm UTC
tonnot
(335)
Aha, what I feared....
Topic archived. No new replies allowed.