static关键字作用

apple.h中定义了方法: static void testFunction(); apple.cpp实现了该方法 static void testFunction() { std::cout<<"hello,i am apple!"<<std::endl; } /Users/taohu/project/self_study/tutorial_04/src/apple.h:9:13:
相关文章
相关标签/搜索