C++ cin/coutSegmentation Fault for integer or float vaiable but is ok for char type

后端 未结 0 1020
北荒
北荒 2021-01-12 06:19

There is a Segmentation Fault on line cin >> num; for integer type.

#include 
using namespace std;
int main(void)
{
    int         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题