高手们帮忙把这段C++改写成VBS,谢谢了
请问各位大牛,如何将这段C++改写成VBS呢?我需要用VBS执行srand()函数和rand(),并将结果以msgbox输出结果,高手们帮帮忙,谢谢了~~
#include <iostream>
using namespace std;
#include <stdlib.h>
#include <time.h>
int main()
{
int i;
srand((unsigned)time(NULL));
for (i=0; i<10; i++)
{
cout<<rand()<<"/t";
}
cout<<endl;
return 0;
}