+ 19

Can we connect html and c++program together ?

17th May 2019, 2:42 PM
Tushar
Tushar - avatar
6 Respostas
+ 9
Yes. Using a newer technology called web assembly, you can write c, c++, or rust code such as functions that transpiles into a speedy language that the browser can use. From there, you can use javascript to call the functions and such. Hope this helps.
18th May 2019, 9:23 AM
SuperC
SuperC - avatar
+ 12
Thanks 👍🏻👍🏻
18th May 2019, 9:38 AM
Tushar
Tushar - avatar
+ 8
Yes we can and it is very simple to merge both
21st May 2019, 12:34 PM
MD Salauddin
MD Salauddin - avatar
+ 3
Yes, you can. Ways: 1. Insert your exe file that is made with c++ to your html code in <a href="cppfile.exe"> And you will have an <a> tag and after clicking it will download your cppfile.exe 2. The second way is to ofstream html tags from c++ file.
19th May 2019, 11:21 AM
Ilia Sichinava
Ilia Sichinava - avatar
+ 3
what about other programming languages like python... how can I connect it to the html
20th May 2019, 9:04 AM
AWI
AWI - avatar
+ 2
I don't know a lot about py, but you can make an python app and then make html <a> tag and link your python app to your html page. <a href="./pythonApp.py">See my python app</a>
20th May 2019, 9:09 AM
Ilia Sichinava
Ilia Sichinava - avatar