作者:shanshanhongxing | 来源:互联网 | 2023-10-11 16:03
errorC4430:missingtypespecifier-intassumed.Note:C++doesnotsupportdefault-int错误类型:缺失类型表述错误原
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
错误类型:
缺失类型表述
错误原因: 函数前未写函数的返回类型,由此导致了这个错误
解决方法: 以后写函数,不管是声明还是定义,都要加上返回类型,尤其是返回类型是VOID时,更要加上 不要省略
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int(转),,
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int(转)