您当前的位置: 首页 >  c语言

川川菜鸟

暂无认证

  • 3浏览

    0关注

    969博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

C语言顺序表:奇数放偶数前

川川菜鸟 发布时间:2021-03-29 13:32:24 ,浏览量:3

#include

#pragma warning(disable:4996)
using namespace std;
#define  MAXSIZE  20
typedef  int  ElemType;
typedef  struct
{
    ElemType  data[MAXSIZE];//最长为20个
    int   len;
} SqList;//定义结构体变量
void move(SqList & sq)
{
    ElemType t;
    int i = 0, j = sq.len - 1;
    while (i             
关注
打赏
1665165634
查看更多评论
0.2487s