×

Loading...

define it in s1.c as a global variable, i.e. in the very beginning before any functions. in s2.c, define "extern int xxx", then you can modify it in s2.c

clinux (C/Linux)
(#289369@0)
2001-12-7 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: C++ help, simple question

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈