Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のC構造を含むf2c(FortranからCへのトランスレーター)で生成されたCファイルがあります。
struct { real rez, pi, st; } const_;
const_f2cによって生成された変数を変更せずに、この変数を別の.cファイルで外部として宣言するにはどうすればよいですか?
const_
別のファイル。
extern struct { real rez, pi, st; } const_;