Dereferencing the void pointer in C++

后端 未结 4 2139
南方客
南方客 2020-12-20 06:11

I\'m trying to implement a generic linked list. The struct for the node is as follows -

typedef struct node{
        void *data;
        node *next;      
};         


        
4条回答
提交回复
热议问题