+ 5

How can I link a c++ code to my html and CSS? 🤔

Can someone please help me out here?

18th Oct 2019, 4:25 PM
Fred Wens
Fred Wens - avatar
7 odpowiedzi
+ 7
Mirielle🐶 [Inactive] In PHP code language used not type. Now it deprecated. Now we write PHP using <?php ?> And PHP is also a scripting language. In second code we used third party liberary. Remove that liberary it will not work. You can do anything with the help of third party library with scripting language. Python is also considered as scripting language. https://thepythonguru.com/is-python-a-programming-language-or-scripting-language/ JS, PHP and python is scripting languages which doesn't needs compilation. C++ is server side language which needs compilation.
19th Oct 2019, 7:19 AM
A͢J
A͢J - avatar
+ 7
It's possible to run c++ on web html, however it's not directly link to the high level language. C++ program needs to be compiled into binary instructions which can be executed from html file by modern browsers. The compilation tool is called webassembly. Follow getting started here, to run and understand how a simple c++ generates "hello world" output on html page. https://webassembly.org/getting-started/developers-guide/
19th Oct 2019, 8:17 AM
Calviղ
Calviղ - avatar
+ 2
What exactly did you mean by "link" here? did you mean you wanted to show the source code in a web page? or was it something else? Elaborate more on the idea in your Description section to add clarity 👍
18th Oct 2019, 4:48 PM
Ipang
+ 2
Mirielle🐶 [Inactive] You can write anything there even your name also but it will not work. So doesn't make sense to write like that. You can write only these. Check here https://www.google.com/amp/s/www.geeksforgeeks.org/html-script-type-attribute/amp/
19th Oct 2019, 6:50 AM
A͢J
A͢J - avatar
0
Fred Wens c++ is not web programming language. If you know this then you will never ask again. C++ is server side language which needs compilation but JavaScript, html and CSS doesn't needs compilation. Mirielle🐶 [Inactive] we can't link c++ code like that.
18th Oct 2019, 10:12 PM
A͢J
A͢J - avatar
0
C++ is not scripting language, needs compilation to run. HTML is the markup language used by scripting languages to output into browser (and other apps that understand html). You can use C++ to develop standalone applications (or plugins for server software in your case)
21st Oct 2019, 1:41 PM
Baraka Mghumba
0
bruh
27th Jan 2021, 1:58 PM
caydenpri44
caydenpri44 - avatar