代码搜索:2
找到约 10,000 项符合「2」的源代码
代码结果 10,000
www.eeworm.com/read/368531/9690561
h c2-2.h
/* c2-2.h 线性表的单链表存储结构 */
struct LNode
{
ElemType data;
struct LNode *next;
};
typedef struct LNode *LinkList; /* 另一种定义LinkList的方法 */
www.eeworm.com/read/368349/9700534
uv2 lcd2.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1, 0x0
Options 1,0,0 // Target
www.eeworm.com/read/368262/9703233
cpp main2-2.cpp
// main2-2.cpp 检验bo2-2.cpp的主程序(与main2-1.cpp很像)
#include"c1.h"
typedef int ElemType;
#include"c2-2.h" // 与main2-1.cpp不同
#include"bo2-2.cpp" // 与main2-1.cpp不同
Status comp(ElemType c1,ElemTy
www.eeworm.com/read/368262/9703239
cpp algo2-2.cpp
// algo2-2.cpp 实现算法2.2的程序
#include"c1.h"
typedef int ElemType;
#include"c2-1.h"
#include"bo2-1.cpp"
void MergeList(SqList La,SqList Lb,SqList &Lc) // 算法2.2
{ // 已知线性表La和Lb中的数据元素按值非递减排列。
www.eeworm.com/read/368262/9703285
cpp bo2-2.cpp
// bo2-2.cpp 单链表线性表(存储结构由c2-2.h定义)的基本操作(12个)
Status InitList(LinkList &L)
{ // 操作结果:构造一个空的线性表L
L=(LinkList)malloc(sizeof(LNode)); // 产生头结点,并使L指向此头结点
if(!L) // 存储分配失败
exit(OVERFLOW);
www.eeworm.com/read/368262/9703301
h c2-2.h
// c2-2.h 线性表的单链表存储结构
struct LNode
{
ElemType data;
LNode *next;
};
typedef LNode *LinkList; // 另一种定义LinkList的方法
www.eeworm.com/read/172503/9704745
txt 2-1-2.txt
//C++程序:MyMax.cpp
#include
float max(float a,float b);
main()
{ float x,y,z;
coutx>>y;
z=max(x,y);
cout
www.eeworm.com/read/172503/9704788
txt 2-0-2.txt
C++的输入输出
#include
void main()
{
int i;
float f;
cin>>i;
cin>>f; //可写成:cin>>i>>f
cout
www.eeworm.com/read/172503/9704860
txt 2-10-2.txt
使用函数重载,编写求两个整型、字符型、单精度、双精度中的最大值的函数max()。并编写测试它们的主函数。
www.eeworm.com/read/172365/9711183
rc2 dao2.rc2
//
// DAO2.RC2 - resources Microsoft Visual C++ does not edit directly
//
#ifdef APSTUDIO_INVOKED
#error this file is not editable by Microsoft Visual C++
#endif //APSTUDIO_INVOKED
//////