ex09-02.cpp
来自「在c环境下的对数据结构进行讲解,包含有例题及答案」· C++ 代码 · 共 20 行
CPP
20 行
//EX09-02.cpp
#include <iostream.h> //cout,cin
#include <conio.h> // getch()
#include <string.h>
void main()
{ char string[20];
strcpy(string,"Word");
cout<<string<<endl;
strcpy(string,"Vocabuary");
cout<<string<<endl;
strcpy(string,"Dictionary");
cout<<string<<endl;
strcpy(string,"Borland");
cout<<string<<endl;
strcpy(string,"Excelent");
cout<<string<<endl;
getch();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?