2021年4月2日

C++之数据、结构体初始化值为0

摘要: 1 void MainWindow::on_pushButton_clicked() 2 { 3 int nInt[20]; 4 nInt[0] = 1; 5 nInt[1] = 2;// 数据乱的一塌糊涂 6 7 int nInt2[20]; 8 memset(nInt2, 0, sizeof(n 阅读全文

posted @ 2021-04-02 10:53 疯狂delphi 阅读(1821) 评论(0) 推荐(0)

导航