Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. //shoppinglist.cpp
  2.  
  3. #include "SHOP_H.h"
  4. #include<iostream>
  5. using namespace std;
  6.  
  7.  
  8. void test(){
  9. cout<<"this is the test function";
  10. }
  11.  
  12. //main.cpp
  13. #include<iostream>
  14. #include "SHOP_H.h"
  15. using namespace std;
  16.  
  17. int main(){
  18. // shopping_list mylist;
  19. test();
  20. cout<<"hello world";
  21. return 1;
  22. }
  23.  
  24.  
  25. //SHOP_H.h
  26. #ifndef SHOP_H
  27. #define SHOP_H
  28.  
  29. using namespace std;
  30.  
  31. void test();
  32. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement