what is the difference between static and normal variables in c++
摘要:void func(){ static int static_var=1; int non_static_var=1; static_var++; non_static_var++; cout<<"Static="<<static_var; cout<<"NonS...
阅读全文
posted @
2014-11-18 15:42
奋进的苦瓜
阅读(177)
推荐(0)