Jesvin Jose
Jesvin Jose

Reputation: 23098

getting started with making event-driven applications in Dev C++

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

To learn, I am making a simpler program that

1-- does a ping_a_server() periodically and thus knows the state of the link

2--a do nothing in the normal state

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

2--c sends the file when the link is back up

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.

Upvotes: 0

Views: 1067

Answers (1)

DVK
DVK

Reputation: 129569

You should probably start with the resources listed on this Wiki: http://en.wikipedia.org/wiki/Event-driven_programming

Upvotes: 1

Related Questions