标题:最后标注的那几句怎么理解
只看楼主
Gband
Rank: 1
等 级:新手上路
帖 子:41
专家分:7
注 册:2017-10-13
结帖率:88.89%
 问题点数:0 回复次数:1 
最后标注的那几句怎么理解
程序代码:
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "ctype.h"
typedef char Datatype;
typedef struct node{
    struct node *tlink;
    int tag;
    union{
        struct node *hlink;
        Datatype value;
    }info;
}Crossnode,*Crosslist;
#define maxsize 30
#define defaultsize 50
void createlist();
void createlist(char *s, int &i, Crossnode* &h, char L1[], Crosslist L2[], int &k)
{
    Crossnode *p; char nam, ch;
    nam = ch; ch = s[i++];
    if (isupper(ch))
    {
        h = (Crossnode*)malloc(sizeof(Crossnode));
        h->tag = 2; nam = ch; ch = s[i++];
        if (ch == '(')
        {
            p = (Crossnode*)malloc(sizeof(Crossnode));
            p->tag = 0;
            h->info.hlink = p;
            L1[k] = nam; L2[k++] = p;
            if (s[i] == '#')
            {
                p->tlink = NULL;
                i++;
            }
            createlist(s, i, p->tlink, L1, L2, k);
搜索更多相关主题的帖子: 标注 include char int i++ 
2018-01-09 22:24
书生牛犊
Rank: 14Rank: 14Rank: 14Rank: 14
来 自:星夜征程
等 级:贵宾
威 望:10
帖 子:1101
专家分:5265
注 册:2015-10-27
得分:0 
看不到标注。。。。

φ(゜▽゜*)♪
2018-01-26 10:08



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-484116-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016065 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved