Cross-Platform "OpenURL" Function(Windows/Linux)?

Hi,

Is there an easy method to open a URL in default browser which is cross-platform?
(targeting Windows® & Linux)

Let me know, thanks!

Jesse

I’d suggest curl for heavy stuff.
https://curl.haxx.se/libcurl/c/simple.html

If you just need to open one url, why not use system()?
I did here:

  case 2:
  	system("xdg-open https://github.com");
  	break;

While doing that I googled 5 minutes and Windows solution showed up.

ShellExecute(0, 0, L"http://www.google.com", 0, 0 , SW_SHOW );

-Cass