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

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.

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

link is broken

link is broken

I disagree?

This is what I get when I click that link

thanks for the info..m also working on it..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.