Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct myDataType
- {
- int blah;
- };
- myDataType doStuffOne()
- {
- myDataType temp;
- temp.blah = 5;
- return temp;
- }
- long doStuffToo()
- {
- long test = 4123213;
- return test;
- }
- int doStuffThree()
- {
- int test = -1;
- return test;
- }
- string doStuffFour()
- {
- string test = "Hello";
- return test;
- }
- float doStuffFive()
- {
- float temp = 3.14;
- return temp;
- }
Add Comment
Please, Sign In to add comment