0

Hi,

Can you plz help me in creating a file in 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

4
Contributors
6
Replies
7
Views
9 Years
Discussion Span
Last Post by inim38
0

Please post some code so that we can see what you have worked on until now.

Check the forum rules here

Also here is a C File I/O tutorial to help you get started.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.