#include <fstream>
#include <iostream>
#include <conio.h>
#include <windows.h>
using namespace std;
int main (){
char ch;
char buffer[256];
MessageBox(NULL,"WELCOME \n press ok to continue","WELCOME",MB_OK);
ifstream urls ("urls.txt");
while (! urls.eof() ){
urls.getline (buffer,100);
{
ShellExecute(NULL, "open", buffer,
NULL, NULL, SW_SHOWNORMAL);
}
}
cout<<"\n\n\n\n\n\n\nURLs Loaded successfully!\n";
cout<<"-------------------------\n\n\n";
getch();
return 0;
}
Ok this is loading a bunch of pages,wich are saved in a file called "urls.txt"
My question is - If there is just 1 page loaded,how can I refresh it every 5 seconds?
Any help is high appreciated!
I'm just going crazy with this :D


Sign In
Create Account


Back to top









