creating a file in C++ ?

Hi,

Can you plz help me in creating a file in C/C++ having columns rec_id (int), score (float), hour (int), no_clicks (int) with rec_id values ranging from 1 to 100, score values initialized to 0.11, hour values initialized to 0 and no_clicks values also initialized to 0. And then generating another file with a sequence of 100 clicks on different records (having rec_id, system time).

Thanks
I didn't understand a word you just said.
You mean like a database file?
Sounds like a homework question...so I'm reporting it.
well, i'm also working on it and i guess structures in c are gonna help in this case and FYI it's not a hw assignment..so if can't help then stay out plz :)
Topic archived. No new replies allowed.