1.创建自己的cpp文件:

 

 2.创建自己的头文件:

 

 3.在源文件中引用头文件:

 

posted on 2022-08-23 11:18  wshidaboss  阅读(32)  评论(0)    收藏  举报