How to get returning value from c++ to js ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to get returning value from c++ to js ?

I've made function in c++ which return value. i want to access that returning value in js something like that js : var a = window.app.reply (); alert (a); // it keep showing undefined or null c++ : bool reply () { return true; }

4th Jan 2017, 2:05 PM
Vipul Walia
Vipul Walia - avatar
1 Answer
0
try with xml or json files (od either ordinary text file) save value in that file and than retrive it from another program. happy coding
6th Jan 2017, 11:57 PM
Stefan Milosavljevic
Stefan Milosavljevic - avatar