+ 4

Can anyone explain me this?

A few time ago I saw this code and wondered how it works, In this code c++ is compiled in JS? The code: https://code.sololearn.com/W9AOylZ8qFn7/?ref=app The above code was not created by me its just a copy of original code , whose url is mentioned in the code.

30th Mar 2018, 1:49 PM
Palash Chatterjee
Palash Chatterjee - avatar
1 ответ
+ 2
No, the c++ code is not compiled in JS... and this will not work in a "normal" web page, but only in sololearn code playground context: I guess that original author hack code playground features for other languages, which are handled through web request ^^ But the better way to get accurate answer, would be to directly ask the code author, through the comment section of the related code ;P
30th Mar 2018, 2:14 PM
visph
visph - avatar