第一种:

system("start explorer http://http://www.baidu.com");

第二种:

ShellExecute(NULL, NULL, _T("http://www.baidu.com"), NULL, NULL, SW_SHOWNORMAL);

 

以上方法都会用默认浏览器弹出要访问的链接

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-06-07
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-12-03
  • 2021-05-29
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-05-07
相关资源
相似解决方案