Usually, you should define it in .c file. But don't define it as static, cause static means it is only visible inside this file.

clinux (C/Linux)
2001-12-8 -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杂谈