代码搜索结果
找到约 29,242 项符合
2 的代码
ocsin0.dat
2.297909e+01 +j 1.474481e+01
2.124程序.plg
Build Log
--------------------Configuration: 2.124程序 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ADMIN
2.11.txt
2.11② 设顺序表L中的数据元素递增有序。
试写一算法,将x插入到L的适当位置上,并保
持该表的有序性。
要求实现下列函数:
void InsertOrderList(SqList &L, ElemType x)
/* 在有序的顺序表 L 中保序插入数据元素 x */
顺序表类型定义如下:
typedef struct {
ElemType *elem;
2.21.txt
2.21③ 试写一算法,实现顺序表的就地逆置,
即利用原表的存储空间将线性表(a1,a2,…,an)
逆置为(an,an-1,…,a1)。
实现下列函数:
void Inverse(SqList &L);
顺序表类型定义如下:
typedef struct {
ElemType *elem;
int length;
int
2.31.txt
<mark>2</mark>.31② 假设某个单向循环链表的长度大于1,且表
中既无头结点也无头指针。已知s为指向链表中某个
结点的指针,试编写算法在链表中删除指针s所指结
点的前驱结点。
实现下列函数:
ElemType DeleteNode(LinkList s);
/* 删除指针s所指结点的前驱结点,并返回被删结点的元素值 */
单链表类型定义如下:
typedef struct LNod ...
ocsin0.dat
2.297909e+01 +j 1.474481e+01
2-3.c
/*2-3.C*/
#include
#include
int delete_file(char near *filename)
{
union REGS regs;
int ret;
regs.h.ah=0x41;
regs.x.dx=(unsigned)filename;
ret=intdos(®s,®s);
re
2-1.c
/*2-1.C*/
#include
#include
#include
#define VIDEO 0x10
void movetoxy(int x,int y)
{
union REGS regs;
regs.h.ah=2;
regs.h.dh=y;
regs.h.dl=x;
regs.h.bh=0;
2-2.c
/*2-2.C*/
#include
#include
#include
int main(void)
{
char filename[80];
union REGS inregs,outregs;
struct SREGS segregs;
printf("Enter filename:");
gets(filena
ocsin0.dat
2.297909e+01 +j 1.474481e+01