C++ expected constant expression

前端 未结 8 1495
日久生厌
日久生厌 2020-11-30 10:42
#include 
#include 
#include 
#include 
#include 
using std::ifstream;
using namespace std;
         


        
8条回答
  •  不知归路
    2020-11-30 11:26

    The array will be allocated at compile time, and since size is not a constant, the compiler cannot accurately determine its value.

提交回复
热议问题