当前位置:   article > 正文

error: ‘变量名‘ does not name a type|_mt19937' in namespace 'std' does not name a type

mt19937' in namespace 'std' does not name a type

写了个头文件
代码大概这样

int *tasks;
int *nodes;
//初始化任务集合
mt19937 rng;
tasks=new int[taskNum];
for(int aa=0;aa<taskNum;aa++){
   
    std::uniform_int_distribution<int> dis1(10,
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/天景科技苑/article/detail/966609
推荐阅读
相关标签
  

闽ICP备14008679号