i like to run native c++ runtime with javascript code
but how do i print / log massages to console or file without compiling the c++ code ?
for example
cc.log("Menu is clicked!");
where should i see this log print ?
i like to run native c++ runtime with javascript code
but how do i print / log massages to console or file without compiling the c++ code ?
for example
cc.log("Menu is clicked!");
where should i see this log print ?
I’m not sure what you mean with “without compiling the c++ code”, but native log messages are seen where the platform’s more used to showing it.
For example, Android has a logcat that you can access by connecting your smartphone with your computer and running “adb logcat”. Microsoft Visual Studio has a console where debug messages show when you compile and run your Windows app through there. And so on.
cc.log(“Menu is clicked!”);
doesn’t show any where when running in windows + vs2013