Avatar
名前だけ使えるというのはどういうことです…?
2:38 PM
Hoge は C++ の struct ?
2:40 PM
hoge.h #ifdef __cplusplus extern "C" { #endif void hehe(); #ifdef __cplusplus } #endif hoge.cpp #include "hoge.h" void hehe() { std::cout << "hehe" << std::endl; } これが動いたのであとは頑張れば行けそうです💪 (edited)