char a[];scanf("%s",a);strcat(a,".txt");FILE *fp=fopen(a,"w");fprintf(fp,"%s",a);這樣可編譯,但程序運(yùn)行時(shí)會(huì)顯示停止運(yùn)行
您好,這個(gè)函數(shù)該怎么辦,是關(guān)于C語(yǔ)言strcat函數(shù)?
手掌心
2021-04-06 11:07:42