+ 2

Can i mix c++ with css

16th Jun 2019, 1:03 PM
Chukwuyenum A. Chimkanma
Chukwuyenum A. Chimkanma - avatar
2 Respostas
+ 12
No!
16th Jun 2019, 1:56 PM
CodeFu
CodeFu - avatar
+ 1
Codinger is mostly correct, as the two languages are not meant together. I say mostly correct, though, because C++ can be used with WebAssembly. I have never done this myself, but I am assuming that it is possible to somehow mix webassembly with styling elements as you would in js. To give more details as to why it is not possible/recommended, C++ is a scripting language normally used to run applications or lower level processes (than the web, it is still a high level language). C++ can be used as a backend server, but it is not usually used for main frontend work (except for webassembly as I mentioned before, and usually webassembly is for logic that needs to be done faster, and it is interfaced by js). CSS on the other hand, is the language to style websites with minimal logic inside of it.
17th Jun 2019, 4:46 AM
JS Coder