Advertisement
Guest User

Untitled

a guest
Dec 24th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. // MAIN.CPP
  2.  
  3. #include <iostream>
  4. #include "ExStream.h"
  5.  
  6. using namespace std;
  7.  
  8. void func1(string);
  9.  
  10. int main(int argc, char** argv) {
  11.  
  12.     ExStream ex;
  13.     ex << "Hey";
  14.     func1(ex);
  15.  
  16.     system("pause");
  17.     return 0;
  18.  
  19. }
  20.  
  21. void func1(string s) {
  22.     cout << "func1 " << s << endl;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement