typedef tag

4 questions


1 answers
121 views
0
The difference between "structure" and "typedef structure"

What's the difference between these two in C++?Most of them use the second methodWhy is that?

1 years ago

1 answers
128 views
0
uint8_t and unsigned char difference

As far as I know, uint8_t is unsigned char and typeefI understand that the implementation of the two is the same.I think there's a reason why they made it separatelyI wonder when uint8_t is used

1 years ago

1 answers
80 views
0
How do I type the template?

template<size_t N, size_t M>class Matrix { // ....};When you have this code If you set default parameter in the function, you don't have to write it separately when you call ittypedef Matrix<...

1 years ago

1 answers
127 views
0
Function pointer question.

I understand that typeef or using can be used to simplify the use of function pointers.typedef void func1(int, int);typedef void (&func2)(int, int);typedef void (*func3)(int, int);By the way, I wa...


© 2024 OneMinuteCode. All rights reserved.