Tag Archives: from

[Solved] zTree Error: cannot read property ‘init’ of undefined

As the name suggests, undefined methods are used, and most of them do not read the corresponding methods

First of all, according to the online statement, check whether jquery.js has been referenced many times, and it has not been checked

Then jquery.js is put at the front. After doing so, it still can’t be solved

Another way is to use required. JS to implement dependency loading, which I didn’t try

Finally, I put the ztree related code in the window. Load method and execute it after the page is loaded

Solved the problem

assignment makes pointer from integer without a…

warning: assignment makes pointer from integer without a cast

Today, debug a program with dev-c,

char *p;

p = GetStr();

The result has the above prompt, but the function does return char *.

This prompt is very strange. After searching on the Internet, this man’s answer is satisfactory.

Undeclared function prototypes return int by default.

Link to the original text:

http://hi.baidu.com/huishou/item/aafe9f00b5a66903cd34ea62