+ 1
I am trying to combine cpp & html5
#include <iostream> <meta charset="UTF-8"> int main(){ cin>>a>>endl; int a; Status: <progress min="0" max="100" value="a"> </progress>
7 Respostas
+ 10
PHP does work better and is way simpler - It is quite abit more complexed and time consuming using cpp and html5.
+ 5
you would better using php
+ 5
I don't know of any reasons to use C++ on server side directly
but when using processor intensive tasks like in animations C++ has a superior edge, so to provide native support to languages like C/C++. WEB assembly will be used, I have been hearing a lot of good things about it recently,
so we can write c++ codes which will be glued together by JavaScript , on the web.
http://webassembly.org/docs/faq/
+ 4
cpp is not my area of expertise, however I know html and I've never heard of the <progress> tag. Furthermore, I don't believe web browsers know how to interpret cpp, seeing as it needs to be compiled first. I also don't believe a cpp compiler would know what to do with html. If these two languages can be combined it is not common and I doubt it's easy. Let me know if I'm wrong though.
+ 3
It is possible, but it's not really designed or used as a server side language:
https://softwareengineering.stackexchange.com/questions/53624/can-c-be-used-as-a-server-side-web-development-language
I'd recommend a server side language, like PHP instead.