You are not logged in.
I need to implement a simple "watch-list" in c++. I tried to do some research on the web, maybe try find an example but wasn't able to find any thing, codewise for a example of how to go about implementing. Any ideas?
Offline
Can you maybe explain in more detail? I'm unfamiliar with what you mean by a "watch list of sorts"
Offline
What i mean by watchlist is to be able to input favorites and say these are the things i want to "watch" happen and have the application notifies the user when those items on the watchlist happens. For example i want to watch an email account and notify me if there is an email. I tried to look for C++ code for examples to go about doing a very simple watchlist implementation but no such luck, or maybe i'm just a very bad google searcher .
Offline
This is quite broad in general, I would suggest figuring out how to get events for things such as new e-mails or other things you want to be on the watchlist into the application first. This may be a quite complex task depending on what kind of events you want to watch.
Then you would need to figure out how to notify the user, for this there are several systems in Linux.
Then the task of taking the input and sending notifications as output is relatively easy.
I haven't lost my mind; I have a tape back-up somewhere.
Twitter
Offline
I suggest looking into a language like Perl. If not, then try looking at the Boost library for C++.
You may get a few ideas there.
Offline
I agree, this is really broad area. If you want to watch emails, you need to first know how e-mail protocols work and then receive the e-mails after certain amount of time and check against them for new mails. Maybe there are some libraries that can save you thousands amounts of time, but yeah..
There is no such thing as "watch list" unless you are using some language that is just made for handling tasks for certain jobs. (Maybe cron and bash scripts come close)
Offline