Advertisement
fteussh

need moooore cats!

Aug 29th, 2015
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main ()
  6. {
  7.   int a = 38;
  8.   char b = 'O';
  9.  
  10.   int *meow = &a;
  11.   char *nya = &b;
  12.   int lol = (*meow)*2;
  13.  
  14.   cout << "My cat says meow " << *meow << " times :D" << endl;
  15.   cout << "Nya! o_" << *nya << endl;
  16.  
  17.   cout << "And now, I have 2 cats ^__^" << endl;
  18.   cout << "2 cats - " << lol << " meows" << endl;
  19.  
  20.   return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement