Guest User

Untitled

a guest
Nov 5th, 2014
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1.     Пусть
  2.     Type - какой-то тип
  3.  
  4.     Type typeVar; // typeVar - переменная типа Type
  5.     Type * pointerToTypeVar {&typeVar}; // pointerToTypeVar - переменная типа "указатель на Type", содержащая в себе адрес typeVar
  6.     Type & referenceToTypeVar {typeVar}; // referenceToType - переменная типа "ссылка на Type", ссылающаяся на typeVar
Advertisement
Add Comment
Please, Sign In to add comment