Project1.exe中0xFEFEFEFE处的未处理异常:0xC00001A5:检测到无效的异常处理程序例程(参数:0x00000003)

时间:2020-03-13 16:43:45

标签: c

#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
void main(void)
{
    char name[50];
    char name1[50];
    char address[50];
    char gender[50];
    char college[50];
    char hscmonth[10];
    char school[50];
    char sscmonth[10];
    int dd, mm, yyyy, cell1, cell2, hscyear, sscyear, cnic1, cnic2, cnic3;

    printf("\n****************************RESUME****************************");
    printf("\n******************************CV******************************");
    printf("\n**************************************************************");
    printf("\n==============================================================");
    printf("\nEnter name: ");
    scanf_s("%s",name);
    printf("\nEnter Fathers name: ");
    scanf_s("%s",name1);
    printf("\nEnter Address: ");
    scanf_s("%s",address);
    printf("\nEnter Gender: ");
    scanf_s("%s",gender);
    printf("\nEnter College: ");
    scanf_s("%s",college);
    printf("\nEnter HSC Month: ");
    scanf_s("%s",hscmonth);
    printf("\nEnter HSC Year: ");
    scanf_s("%d",&hscyear);
    printf("\nEnter School: ");
    scanf_s("%s",school);
    printf("\nEnter SSC Month: ");
    scanf_s("%s",sscmonth);
    printf("\nEnter SSC Year: ");
    scanf_s("%d",&sscyear);
    printf("\nDate of Birth :");
    scanf_s("%d%d%d",&dd,&mm,&yyyy);
    printf("\nCell Phone :");
    scanf_s("%d%d",&cell1,&cell2);
    printf("\nCNIC :");
    scanf_s("%d%d%d",&cnic1,&cnic2,&cnic3);

    _getch();
}

我的程序在第一次scanf_s之后崩溃,我尝试了您管子上所有可用的教程,但是该错误没有得到解决,希望我能尽快解决我的问题,请在回复时做一下解释,因为它是一种排序为我分配作业。如果可能,请也附上正确的代码,谢谢

0 个答案:

没有答案