Guest User

Untitled

a guest
May 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct myDataType
  5. {
  6. int blah;
  7. };
  8.  
  9. myDataType doStuffOne()
  10. {
  11. myDataType temp;
  12. temp.blah = 5;
  13. return temp;
  14. }
  15.  
  16. long doStuffToo()
  17. {
  18. long test = 4123213;
  19. return test;
  20. }
  21.  
  22. int doStuffThree()
  23. {
  24. int test = -1;
  25. return test;
  26. }
  27.  
  28. string doStuffFour()
  29. {
  30. string test = "Hello";
  31. return test;
  32. }
  33.  
  34. float doStuffFive()
  35. {
  36. float temp = 3.14;
  37. return temp;
  38. }
Add Comment
Please, Sign In to add comment