getting started with making event-driven applications in Dev C++
<p>I am a newb developing <b>a windows C/C++ program in Dev C++</b> that logs system activity when the link is down. <b> I want to get acquainted with developing event-driven applications. </b></p>

<p>To learn, I am making a <b>simpler</b> program that </p>

<p>1-- does a <i>ping_a_server()</i> periodically and thus knows the state of the link</p>

<p>2--a do nothing in the normal state</p>

<p>2--b appends a file with "SERIALNO,TIME" periodically as long as the link is down</p>

<p>2--c sends the file when the link is back up</p>

<p>I am a newb, unfamiliar with real-life programs. Please tell me how to implement the above components 1 and 2 (threads, maybe?) and point me to resources to learn them. </p>
