char *SOURCE[]={"finita la programma" }; const char ThisProgramVersion[]="STRIP Application. Version 2.16. Was built on 5/5/99. "; ///////////////////////////////////////////////////////////// //#define _mfc //#define _stl //_WIN32 _MFC #define _stl #ifdef _mfc #include #elif defined _stl #pragma warning(disable:4786) #include #include #include #include #include #include using namespace std ; #else #error Should be defined either _stl or _mfc #endif #ifdef _mfc #ifdef _WIN32 #else #error You cannot specify _mfc in non-Win32 environment #endif #ifdef _stl #error You cannot define both _stl and _mfc #endif #endif #include //f(x) f(x) f(x) f(x) f(x) f(x) f(x) f(x) f(x) f(x) f(x) f(x) char ComandLine[1024]; int main(int argc, char *argv[], char *envir[]) { // CString if (argc!=3) { printf("Running is:\n %s Miami outputfile\n ",argv[0]); exit(1); } char counterchar; for (counterchar='0';counterchar<='9';counterchar++) { sprintf(ComandLine,"lynx -dump -source \"http://n93.cs.fiu.edu/scripts/strip.exe?URL=bellsouth&par0=%s&keyword=%c&secondaryscreening=&f=txt&outputlanguage=en_en&savelocal=&savescript=&submit.x=31&submit.y=14\" >> %s ",argv[1],counterchar,argv[2]); //lynx.exe -dump -source "http://n93.cs.fiu.edu/scripts/strip.exe?URL=bellsouth&par0=Miami&keyword=%1&secondaryscreening=&f=txt&outputlanguage=en_en&savelocal=&savescript=&submit.x=31&submit.y=14" >> %2 // printf("%s\n",ComandLine); system(ComandLine); } for (counterchar='a';counterchar<='z';counterchar++) { sprintf(ComandLine,"lynx -dump -source \"http://n93.cs.fiu.edu/scripts/strip.exe?URL=bellsouth&par0=%s&keyword=%c&secondaryscreening=&f=txt&outputlanguage=en_en&savelocal=&savescript=&submit.x=31&submit.y=14\" >> %s ",argv[1],counterchar,argv[2]); //lynx.exe -dump -source "http://n93.cs.fiu.edu/scripts/strip.exe?URL=bellsouth&par0=Miami&keyword=%1&secondaryscreening=&f=txt&outputlanguage=en_en&savelocal=&savescript=&submit.x=31&submit.y=14\" >> %2 // printf("%s\n",ComandLine); system(ComandLine); } }