class ListElement for creating an easy list with next pointers -> “does not name a type” - error

后端 未结 0 2017
暗喜
暗喜 2021-02-12 23:47
#include 

#pragma once

class ListElement
{

public:
    ListElement(T* d)
    {
        next = NULL;
        data = d;
    }

    T* getData(void) {ret         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题