r*******y 发帖数: 1081 | |
t****t 发帖数: 6806 | 2 man ntohs
【在 r*******y 的大作中提到】 : Thanks.
|
r*******y 发帖数: 1081 | 3 it only gives the include file in c
【在 t****t 的大作中提到】 : man ntohs
|
t****t 发帖数: 6806 | 4 and that's the one.
【在 r*******y 的大作中提到】 : it only gives the include file in c
|
r*******y 发帖数: 1081 | 5 so I have to use
extern "C" {
#include
}
【在 t****t 的大作中提到】 : and that's the one.
|
t****t 发帖数: 6806 | 6 lol, you are worrying about that.
system headers are smarter than this.
【在 r*******y 的大作中提到】 : so I have to use : extern "C" { : #include : }
|