Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //shoppinglist.cpp
- #include "SHOP_H.h"
- #include<iostream>
- using namespace std;
- void test(){
- cout<<"this is the test function";
- }
- //main.cpp
- #include<iostream>
- #include "SHOP_H.h"
- using namespace std;
- int main(){
- // shopping_list mylist;
- test();
- cout<<"hello world";
- return 1;
- }
- //SHOP_H.h
- #ifndef SHOP_H
- #define SHOP_H
- using namespace std;
- void test();
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement