Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用typedef struct在C++毫无意义 #111

Closed
Mq-b opened this issue Oct 13, 2023 · 0 comments
Closed

使用typedef struct在C++毫无意义 #111

Mq-b opened this issue Oct 13, 2023 · 0 comments

Comments

@Mq-b
Copy link

Mq-b commented Oct 13, 2023

typedef struct {
	ElemType *elem;
	int top;
	int size;
	int increment;
} SqStack;

使用这种风格毫无意义,而且我觉得很误导使用 C++ 的新的开发者,我只能认为是 C 遗留。

@Mq-b Mq-b closed this as completed Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant