check file exists once in n mins c++
<p>i have created a class which reads a file and does some operations on the contents and saves a new file with time stamp. But, i am in a requirement to perform in such a way that , a code should check every one min whether the file is present. If yes, it should process the file. It need to work on cross platform.  </p>

<p>I am novice in c++ and need to know what approach i need to follow for this. Do i need to create process or something. I am completely blank . </p>

<pre><code>class inputHandler
{
public:

void readInput();
void performTask();
void saveFile();
};
</code></pre>

<p>since the code implementation is too large, just i am posting the structure. I am ready to spend time on this. So, i need a sample tutorial which can guide me to achieve this . </p>
