全局變量 出現undefined reference to

聲明一全局變量,在編譯的時候出現「undefined reference to」,緣由是  沒在.cpp文件裏定義這個全局變量。
相關文章
相關標籤/搜索