Is it possible to open URL from c++?

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Onaylı Üye
Katılım
5 Ocak 2021
Mesajlar
55
Tepki puanı
3
Ödüller
1
Yaş
23
5 HİZMET YILI
So i just wanted to know if its possible to open URL from c++?
And if yes how do you guys do that?
 
Do not underestimated the Uchiha
Onaylı Üye
Katılım
6 Nis 2020
Mesajlar
81
Çözümler
2
Tepki puanı
59
Ödüller
4
Yaş
26
6 HİZMET YILI
I personally do not know the answer, but I guess this answer from StackOverflow (Through Google) might help you.



In case if you want to know more, search in Google with the same keywords as your title ("Is it possible to open URL from c++?") and you will find several results that might help you.
 
Son düzenleme:
Your Friendly Neighbor
Süper Üye
Katılım
1 Eyl 2019
Mesajlar
630
Çözümler
2
Tepki puanı
46
Ödüller
5
Yaş
27
6 HİZMET YILI
ShellExecute(0, 0, L" your URL", 0, 0 , SW_SHOW );

But if this will only open in your default browser, if you want you can internally code a skeleton browser in C++ and than open your url in your custom browser
 
Wanderlust
Ultra Üye
Katılım
24 Mar 2020
Mesajlar
1,535
Çözümler
2
Tepki puanı
122
Ödüller
9
6 HİZMET YILI
what the hell are yoyu even talking about T_T
 
Onaylı Üye
Katılım
25 Şub 2016
Mesajlar
52
Tepki puanı
6
Ödüller
9
10 HİZMET YILI
its possible i guess i found some articles with "is it possible to open URL from c++?"
 
Onaylı Üye
Katılım
8 Nis 2018
Mesajlar
104
Tepki puanı
18
Ödüller
7
8 HİZMET YILI
it's so many ways to do that.as someone mentioned:
1. use ShellExecute(0, 0, L"your url here", 0, 0 , SW_SHOW );
( windows.h, shellapi.h include)
2. use system(.....)
Example: system("<mybrowser> your URL here");
3. "Winsock" is the good one
 
Seçkin Üye
Katılım
13 Mar 2019
Mesajlar
597
Tepki puanı
22
Ödüller
6
Yaş
31
7 HİZMET YILI
as the others explained , ofc you can
 
Üye
Katılım
17 Nis 2020
Mesajlar
25
Tepki puanı
0
Ödüller
2
6 HİZMET YILI
Yes, you can just replace
Bağlantıları görmek için lütfen Giriş Yap
with the URL you want!

here is the code:

 
Life is too short to worry make it SUPREME
Süper Üye
Katılım
3 Şub 2019
Mesajlar
952
Çözümler
3
Tepki puanı
163
Ödüller
8
7 HİZMET YILI
yeah it should work i mean i had no issue
 
Onaylı Üye
Katılım
5 Kas 2021
Mesajlar
70
Çözümler
1
Tepki puanı
4
Ödüller
1
Yaş
27
4 HİZMET YILI
it's so many ways brohh, u need to try google search before asking
 
Seçkin Üye
Katılım
27 Şub 2018
Mesajlar
577
Çözümler
1
Tepki puanı
18
Ödüller
7
Yaş
35
8 HİZMET YILI
sure its possible
Post automatically merged:

try in c++.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...