✔ 最佳答案
1. Open webpage with IE:
apply system call, system(char*)
system("\"C:\Program Files\\Internet Explorer\\iexplore.exe\" [url / file]");
e.g.
system("\"C:\Program Files\\Internet Explorer\\iexplore.exe\" hk.yahoo.com");
----------
2. Open webpage randomly:
generate the c string by random function, rand()
using <string> in C++ can be easier to do so.
----------
3. Delay the next call:
using Sleep(int ms) in <windows.h>
e.g.
while(true){
Sleep(rand()*100);
system(...);
}