so working with javascript can be quite different than working with c++. As c++ has pointer concept which is really unique and sometime really hard to understand in many c++ project for example games where you need to pass variable from one class to other or pass a variable from one function to other. i am mainly from javascript background where simple data types like number and string pass by value and complex data types like object and array passed by reference. but in c++ variables passed by three way and these are really important when u are dealing in heap or stack memory. code easy to understand https://www.onlinegdb.com/edit/HyTblnW1P 1. Pass By Value (copy value) we hardly used this so check out my example i have a class called class Demon { private: int age; public: Demon(){}; ~Demon(){}; void setAge(int __age) ...
all about coding especially in javascript, daily used algorithms, react, angular and other gaming stuffs like webgl, pixijs, three.js and cocos2dx running code sample especially in javascript and c++.