c++蓝桥记录2
\lq2.6.cpp [Error] ‘memset’ is not a member of ‘std’
#include< cstring >//插入头文件
using namespace std;
int main(){
int n;
cin>>n;
int b[n][n];
memset(b,0,sizeof(b));//c语言中的函数,c++中要加头文件cstring。
参考自:https://zhidao.baidu.com/question/365211153.html
https://zhidao.baidu.com/question/399000449.html