#include <iostream>
#define ElemType int
const int ListInitSize=7;
using namespace std;
struct SList
{
ElemType *elem;
int length;
int listsize;
};
bool ListCreate(SList &L,int n,ElemType a[])
{
L.elem = new ElemType[n+ListInitSize];
if(!L.elem) return false;
L.length = n;
L.listsize = n+ListInitSize;
return true;
}
1.用我的程式 寫一個簡單的順序表 (不要任何別的功能)
2.洗掉順序表大于x的元素
3q
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/266454.html
標籤:C++ 語言
上一篇:使用fprintf函式錄入檔案無法空格和換行是怎么回事
下一篇:C語言求助
