gpt4 book ai didi

C++ 代码 : class or structure: difficult to understand

转载 作者:行者123 更新时间:2023-11-28 01:04:06 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
What are the differences between struct and class in C++

我正在查看某个结构的头文件,但看起来函数是该结构的一部分……所以这是一个类,但如何取消?还是使用?

struct Recording
{
FLAG mode;
unsigned short intervals;
unsigned short saved_cycles;
virtual void SavetoFile( FILE *file,
bool Control,
PhaseData *__phaseData = NULL
);

virtual bool LoadfromFile( FILE *file,
bool Control,
PhaseData *__phaseData = NULL
);
};

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com