In eclipse it don't recognize the type size_t, it write error on it and a message uknown type name 'size_t', it is written right

有帮助吗?

解决方案

size_t comes from stddef.h standard header file. You have to include it. You can also get it from stdio.h where it is also declared.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top