Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*MyCode.h*/
- // notice how vector isn't included here
- vector<int> somefunc();
- /*MyCode.cpp*/
- #include <vector> //include vector here
- #include MyCode.h //then include the header
- vector<int> somefunc(){ return vector<int>({1,2,3,}); };
Advertisement
Add Comment
Please, Sign In to add comment