SHARE
TWEET

Untitled

a guest Jul 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top