Subj : Equivalent in c/c++ to a simple javascript obj. To : netscape.public.mozilla.jseng From : block111 Date : Wed Oct 20 2004 01:40 pm Hi, could somebody post a simple c/c++ code (or explain in simple words which api needed) required to declare a js class, so that this class would be predeclared (like Array) for example simple js code: function MyClass(){ this.x; //public member; var y; //private member; z; //static member; } What is the equivalent c/c++ code? basicly each of the members might be a function, object, int etc, but for a simple example int (JS_Int or whatever) is ok. PS. I could execute a few strings of js code to make such a class declared, but I would like to know what is the code to make it in c/c++. Thanks .