阅读背景:

在结构体里放 string 是不行的

来源:互联网 

比如这样:

/* the struct of the node by adjacency-list representation */
typedef struct
{
        /* the name of node */
        string nodename;

        /* the list of each node */
        vector< string > nodelist;

        /* the begin probability of the node */
        vector< float > nodeprob;

} nbnode;
/* the struct of the node by adj



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: