You need to make your strings longer. char Bulan_str[4] isn't large enough for you to enter a 4-digit number. It needs to be large enough ... ... <看更多>
Search
Search
You need to make your strings longer. char Bulan_str[4] isn't large enough for you to enter a 4-digit number. It needs to be large enough ... ... <看更多>
而如果想一次處理一行字串就要使用fgets、fputs,函數宣告原型如下. 1 2, char* fgets(char *str, int length, FILE *fp); int fputs(char *str, ... ... <看更多>
#include <stdio.h>. #include <string.h>. #define MAXLINES 1000 /* 输入行的最大长度*/. char *Fgets(char *s, int size, FILE *iop);. int Fputs(const char *s, ... ... <看更多>
... <看更多>