ahmed0saber

Open a link in C++

Nov 4th, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.17 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. string baseUrl;
  6. baseUrl="https://www.google.com/";
  7. system(std::string("start " + baseUrl).c_str());
  8. return 0;
  9. }
Add Comment
Please, Sign In to add comment