C语言conio,C语言中是干什么用的能具体解释一下吗

1,C语言中conioh是干什么用的能具体解释一下吗conio.h 不是标准C语言的一部分 , 不推荐使用名称上很清楚,con = console 控制台io = input / output 输入输出.h = C语言头文件 (包含一些函数、常量、结构体的定义)里面所定义的函数主要是是用来和控制台交互的 , 比如移动光标,打印字符,获取键盘输入 。
2,c语言中includeconiohincludestringhincludestdlibhconio.h , string.h,stdlib.h表示库 , 库里面可以函数调用 , 这三个的意思是申明写得代码中用到的函数包含于这三个库#include "stdio.h"#include "stdlib.h"#include "string.h"#include "conio.h"#define header1 " -----------------------------student------------------------------------- \n"#define header2 " | number | name | chinese | math | english | sum | ave | mici | \n"#define header3 " |---------------|----------------|----|----|----|-----|-------|----| "#define format " | %-10s |%-15s |%4d|%4d|%4d|%4d | %.2f |%4d | \n"#define data p->data.num,p->data.name,p->data.cgrade,p->data.mgrade,p->data.egrade,p->data.total,p->data.ave,p->data.mingci#define end " ------------------------------------------------------------------------- \n"int saveflag=0;typedef struct student char num[10]; /*学号*/ char name[20]; /*姓名*/ int cgrade; /*语文分数*/ int mgrade; /*数学分数*/ int egrade; /*英语分数*/ int total; /*总分*/ double aver; /*平均分*/ int mingci; /*名次*/}; typedef struct nodestruct student data;struct node *next; }node, *link;int menu();void printheader();void printdata(node *pp);void stringinput(char*t,int lens,char *notice);int numberinput(char *notice);void disp (link );node* locate(link ,char findmess[],char nameornum[]);void add(link );void qur(link );void del(link );void modify(link );void insert(link );void tongji(link );void sort(link );void save(link );int main() return 0;}头文件 #include"conio.h" 还可以 #include《conio.h》包含头文件 , 也就是库函数的定义#include"stdlib.h"是通用工具库 , #include"string.h“是字符串处理库,#include"conio.h"这个就不知道了
3,C语言coniohconio是Console Input/Output(控制台输入输出)的简写 , 其中定义了通过控制台进行数据输入和数据输出的函数,主要是一些用户通过按键盘产生的对应操作,比如getch()函数等等 。conio.hconio.h不是C标准库中的头文件 。上面那位高手说的就是conio的定义~~~它包含的函数cgets(char *);cprintf(const char *, ...);cputs(const char *);cscanf(const char *, ...);inp(unsigned short);inpw(unsigned short);getch(void);getche(void);kbhit(void);outp(unsigned short, int);outpw(unsigned short, unsigned short);putch(int);ungetch(int);void _Cdecl clreol (void);void _Cdecl clrscr (void);void _Cdecl delline (void);int _Cdecl gettext (int left, int top, int right, int bottom,void *destin);void _Cdecl gettextinfo (struct text_info *r);void _Cdecl gotoxy (int x, int y);void _Cdecl highvideo (void);void _Cdecl insline (void);void _Cdecl lowvideo (void);int _Cdecl movetext (int left, int top, int right, int bottom,int destleft, int desttop);void _Cdecl normvideo (void);int _Cdecl puttext (int left, int top, int right, int bottom,void *source);void _Cdecl textattr (int newattr);void _Cdecl textbackground (int newcolor);void _Cdecl textcolor (int newcolor);void _Cdecl textmode (int newmode);int _Cdecl wherex (void);int _Cdecl wherey (void);void _Cdecl window (int left, int top, int right, int bottom);har *_Cdecl cgets (char *str);int _Cdecl cprintf (const char *format, ...);int _Cdecl cputs (const char *str);int _Cdecl cscanf (const char *format, ...);int _Cdecl getch (void);int _Cdecl getche (void);char *_Cdecl getpass (const char *prompt);int _Cdecl kbhit (void);int _Cdecl putch (int c);int _Cdecl ungetch (int ch);如果您满意就打分哈~!~有疑问可以继续问哈~!【C语言conio,C语言中是干什么用的能具体解释一下吗】
4,C语言conioh头文件是什么是干什么用的都有什么"conio.h"头文件是 控制台输入输出函数头文件 。con 是控制台Console英文缩写,io是 Input/Output 输入输出 。它不属于C语言标准库 。它定义了通过控制台进行数据输入和数据输出的函数,例如 键盘输入,屏幕输出 。它是早期C语言用的输入输出函数库 。除了个别函数以外,现在基本不用(而用标准库 stdio.h) 。可能用的函数是 getch(); 和 kbhit(void);getch(); 用于瞬时读取按下的键,(不等待回车换行键的到来) 。kbhit(void);用于瞬时检查 是否有按键动作 。其它函数很少用到 。函数有:cgets(char *);cprintf(const char *, ...);cputs(const char *);cscanf(const char *, ...);inp(unsigned short);inpw(unsigned short);getch(void);getche(void);kbhit(void);outp(unsigned short, int);outpw(unsigned short, unsigned short);putch(int);ungetch(int);void _Cdecl clreol (void);void _Cdecl clrscr (void);void _Cdecl delline (void);int _Cdecl gettext (int left, int top, int right, int bottom,void *destin);void _Cdecl gettextinfo (struct text_info *r);void _Cdecl gotoxy (int x, int y);void _Cdecl highvideo (void);void _Cdecl insline (void);void _Cdecl lowvideo (void);int _Cdecl movetext (int left, int top, int right, int bottom,int destleft, int desttop);void _Cdecl normvideo (void);int _Cdecl puttext (int left, int top, int right, int bottom,void *source);void _Cdecl textattr (int newattr);void _Cdecl textbackground (int newcolor);void _Cdecl textcolor (int newcolor);void _Cdecl textmode (int newmode);int _Cdecl wherex (void);int _Cdecl wherey (void);void _Cdecl window (int left, int top, int right, int bottom);char *_Cdecl cgets (char *str);int _Cdecl cprintf (const char *format, ...);int _Cdecl cputs (const char *str);int _Cdecl cscanf (const char *format, ...);int _Cdecl getch (void);int _Cdecl getche (void);char *_Cdecl getpass (const char *prompt);int _Cdecl kbhit (void);int _Cdecl putch (int c);int _Cdecl ungetch (int ch);conio.h是console input/output(控制台输入输出)的简写,其中定义了通过控制台进行数据输入和数据输出的函数,主要是一些用户通过按键盘产生的对应操作,比如getch()函数等等 。conio.h不是c标准库中的头文件 windows.h是主要的头文件,它包含了其他windows头文件,这些头文件的某些也包含了其他头文件 。这些头文件中最重要的和最基本的是:windef.h 基本型态定义 。winnt.h 支援unicode的型态定义 。winbase.h kernel函数 。winuser.h 使用者介面函数 。wingdi.h 图形装置介面函数 。这些头文件定义了windows的所有资料型态、函数调用、资料结构和常数识别字 , 它们是windows文件中的一个重要部分 。string.h关于字符数组的函数定义的头文件,常用函数有strlen、strcmp、strcpy等等,更详细的可以到include文件夹里面查看该文件 。math.h数学函数库,一些数学计算的公式的具体实现是放在math.h里比如三角函数啥的

    推荐阅读