亚洲春色中文字幕久久久-三上亚,一吻二脱三床四吻胸,国产真实伦对白视频全集,在线毛片观看,精品成品入口黄网,国产毛aⅴ片久久久,亚洲AV色香蕉一区二区三区老师,萧皇后A级艳片,色情日本视频更新,99久久亚洲精品日本无码

標題: #include “stdio.h”與#include<stdio.h>有什么區別 [打印本頁]

作者: huyun    時間: 2015-6-4 15:52
標題: #include “stdio.h”與#include<stdio.h>有什么區別
用雙引號表示先在當前程序所在的目錄查找所包含的文件,一般在要包含自己寫的文件時使用
用尖括號表示先在系統目錄查找所包含的文件,一般在要包含系統頭文件時使用
/*
============================================================================
Name        : rr.c
Author      : ff
Version     :
Copyright   : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
#include "c.h"
extern int j;
int main(void) {
s.age=1;
//kk=1;
kk();
puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
printf("%d",j);
return EXIT_SUCCESS;
}


/*
* c.h
*
*  Created on: 2012-7-31
*      Author: root
*/
#ifndef C_H_
#define C_H_
struct student
{
  int num;
  char name[128];
  char password[32];
int age;
int class;
int math;
}s;
//extern student s;
int kk(void)
{
puts("!!!Hello World123!!!");
  return EXIT_SUCCESS;
}
#endif /* F_H_ */
如果上面把#include "c.h"改成#include <c.h>就會出錯了




作者: 盆123    時間: 2016-11-13 14:17
樓主最后一句話有問題把。雖然先后順序不一樣但是最終實現的功能還是一樣的
作者: 盆123    時間: 2016-11-13 14:18
樓主最后一句話有問題把。雖然先后順序不一樣但是最終實現的功能還是一樣的




歡迎光臨 (http://www.denmoz.com/bbs/) Powered by Discuz! X3.1