‘char *' differs in levels of indirection from 'int'

这个问题是有与和系统变量重名导致的,如 char* ans = (char*) malloc(10);系统变量是一个int。

posted on 2015-10-19 10:17  1的哲学  阅读(915)  评论(0编辑  收藏  举报

导航