This is the mail archive of the
mailing list for the GCC project.
How can I initialize an array whose type is a struct?
- From: "learning c++" <learning_c at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 01 Sep 2004 19:36:47 +0300
- Subject: How can I initialize an array whose type is a struct?
I have a short code to print the month and days in a month. I declared a
struct including month and days. but it does not work.
Please help me.
using namespace std;
for(iter=arr.begin(); iter!=arr.end(); iter++)
The new MSN 8: smart spam protection and 2 months FREE*