随笔1

1 #include"tool.h"
2 void main(){
3     plus(1,2);
4 }
1 #include"tool.h"
2 void plus(int a,int b){
3     printf("%d + %d = %d",a,b,a+b);
4 }
1 #include<stdio.h>
2 
3     void plus(int a,int b);

main.cpp

tool.cpp

tool.h

 

posted @ 2017-12-16 09:20  流云不羁  阅读(97)  评论(0编辑  收藏  举报