t***r 发帖数: 47 | 1 I inserted a segment of C++(including "class definition" and
"operator overloding" )code in C, but I could not make it on
UNIX(using g++)! Can you help me? | w*****n 发帖数: 94 | 2 some points to note:
1) compile your main function with g++
2) guard your C function name with extern "C" {}
【在 t***r 的大作中提到】 : I inserted a segment of C++(including "class definition" and : "operator overloding" )code in C, but I could not make it on : UNIX(using g++)! Can you help me?
|
|