C++ files can be called in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C++ files can be called in html

please answer

17th May 2017, 10:29 AM
Bihi Makhloufi
Bihi Makhloufi - avatar
5 Answers
+ 3
HTML and Javascript run in an environment which is sandboxed from making any syatem calls for security reasons. So the answer is No. But you may be able to make C++ call from server side using Php or Python perhaps.
17th May 2017, 10:57 AM
Calviղ
Calviղ - avatar
+ 1
@James Is that for local file access or web based? What I was addressed was web-based access. Of course, for local file access, HTML even can link to local files like images and other documents.
17th May 2017, 11:54 AM
Calviղ
Calviղ - avatar
+ 1
@James For web access, how does C++ classes transport over from server to client, since this is HTML, no server script handling?
17th May 2017, 12:00 PM
Calviղ
Calviղ - avatar
+ 1
Thank you for the information. @James.
17th May 2017, 12:04 PM
Calviղ
Calviղ - avatar
0
thank you all for yours answers
17th May 2017, 11:11 PM
Bihi Makhloufi
Bihi Makhloufi - avatar