【初心者歓迎】C/C++室 Ver.37【環境依存OK】
at TECH
33:デフォルトの名無しさん
07/05/09 19:39:13
>>32
なら、
// foo.hpp
#ifndef FOO_HPP_
#define FOO_HPP_
#ifdef __cplusplus
extern "C" {
#endif
#include "foo.h"
#ifdef __cplusplus
}
#endif
#endif // #ifndef FOO_HPP_
ってのを作って、C++ からは foo.hpp をインクルードするといいよ。
別に弊害はないかと。
次ページ続きを表示1を表示最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4908日前に更新/189 KB
担当:undef