scanf("%d%d%d",year,month,date);
忘记在year,month,date前少了&后,程序运行会没有输出,调试时会出现“Program received signal SIGSEGV, Segmentation fault.”错误:
原文地址:https://www.cnblogs.com/arthur-f/p/11448206.html
时间: 2024-11-20 12:26:42
scanf("%d%d%d",year,month,date);
忘记在year,month,date前少了&后,程序运行会没有输出,调试时会出现“Program received signal SIGSEGV, Segmentation fault.”错误:
原文地址:https://www.cnblogs.com/arthur-f/p/11448206.html