Error “xxxx”does not name a type

前端 未结 3 2148
花落未央
花落未央 2021-02-20 01:47

I encountered a problem when tried compiling the following code:

#include 
#include 
#include 
#include 

        
3条回答
  •  无人及你
    2021-02-20 02:09

    You can't have statements like mapDial['A'] = 2; at global scope. They must be inside a function.

提交回复
热议问题