TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Prince
NA
12
0
NEED HELP: array of struct to read input file
Jan 22 2010 11:24 AM
I need to read 10lines of data containing 3fields.this is my code so far.....need help
struct
Date
{
int
Month, Day, Year;
}
static
void
Main(
string
[] args)
{
//This file was created with the Add New Item icon on the toolbar
StreamReader
textReader =
new
StreamReader
(
"..\\..\\Date.txt"
)
//array of struct to hold data from text file
Date
[,] mydate =
new
Date
[10, 3];
Date
[indexcount, arraycount].Month;
Date
[indexcount,arraycount].Day;
Date
[indexcount, arraycount].Year;
//array counter
int
outerloop = 0;
int
indexcount = 0;
int
arraycount = 0;
Reply
Answers (
4
)
how to put usercontrol in toolbox
Print result from dialog capture