¡¸¤¦¤¿¤«¤¿¡¹ ·¢±íÓÚ 2020-8-14 10:16:13

CÓïÑÔÎļþ×Ö·û´®Ð´ÈëµÄÎÊÌâ

ΪʲôÕâ¸ö³ÌÐòÖ´Ðйýºó£¬what.txtÀïÃæɶ¶¼Ã»ÓÐ
#include <stdio.h>
int main(int argc, char *argv[]) {
    char *buf[] = {"´²Ç°Ã÷Ô¹â", "ÒÉÊǵØÉÏ˪", "¾ÙÍ·ÍûÃ÷ÔÂ", "µÍͷ˼¹ÊÏç"}; // Ö¸ÕëÊý×é
    int n = sizeof(buf) / sizeof(buf);
    FILE *fp = NULL;
    fp = fopen("C://Users//computer//Desktop//Project1//what.txt", "w");
    if (fp == NULL) {
      perror("fopen");
      return 0;
    }
    int i;
    for (i = 0; i < n; i++) {
      fputs(buf, fp);
    }
    fclose(fp);
    return 0;
}

zltzlt ·¢±íÓÚ 2020-8-14 10:18:28

ÎÒÕâÀï²âÊÔÊÇÓÐÄÚÈݵÄ

´²Ç°Ã÷Ô¹âÒÉÊǵØÉÏ˪¾ÙÍ·ÍûÃ÷ÔµÍͷ˼¹ÊÏç

ÓÀºãµÄÀ¶É«ÃÎÏë ·¢±íÓÚ 2020-8-14 10:24:04

Îļþ´ò¿ª´íÁË°É

¡¸¤¦¤¿¤«¤¿¡¹ ·¢±íÓÚ 2020-8-14 10:27:40

ÇóÖú´óÀÐÄÄÀï³ö´íÁË£¿

¡¸¤¦¤¿¤«¤¿¡¹ ·¢±íÓÚ 2020-8-14 10:29:10

zltzlt ·¢±íÓÚ 2020-8-14 10:18
ÎÒÕâÀï²âÊÔÊÇÓÐÄÚÈݵÄ

ÇëÎÊÊDz»ÊDZàÂëµÄÎÊÌ⣿

zltzlt ·¢±íÓÚ 2020-8-14 10:30:43

¡¸¤¦¤¿¤«¤¿¡¹ ·¢±íÓÚ 2020-8-14 10:29
ÇëÎÊÊDz»ÊDZàÂëµÄÎÊÌ⣿

ÎÒ¾õµÃ²»Ïñ

Cool_Breeze ·¢±íÓÚ 2020-8-14 10:33:05

ÎÒ·ÅÔÚdÅÌÏ£¬Ã»ÓÐÎÊÌ⣡

xieglt ·¢±íÓÚ 2020-8-14 10:59:09

¸÷È˵Ļ·¾³²»Ò»Ñù£¬ÔËÐнá¹û¿ÉÄܾͲ»Ò»Ñù¡£
×Ô¼ºµ¥²½¸ú×Ùһϣ¬Ò²Ðí¾Í²é³öÎÊÌâÔÚÄÄÁË¡£

livcui ·¢±íÓÚ 2020-8-14 11:09:49

¡¸¤¦¤¿¤«¤¿¡¹ ·¢±íÓÚ 2020-8-14 10:27
ÇóÖú´óÀÐÄÄÀï³ö´íÁË£¿

Ó¦¸ÃÊǵØÖ·´íÁË£¬Ïȵ÷ÊÔ¿´¿´

¡¸¤¦¤¿¤«¤¿¡¹ ·¢±íÓÚ 2020-8-14 14:56:09

livcui ·¢±íÓÚ 2020-8-14 11:09
Ó¦¸ÃÊǵØÖ·´íÁË£¬Ïȵ÷ÊÔ¿´¿´

лл´óÀÐ
Ò³: [1]
²é¿´ÍêÕû°æ±¾: CÓïÑÔÎļþ×Ö·û´®Ð´ÈëµÄÎÊÌâ