Guest User

Untitled

a guest
May 27th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. template <typename T, int N>
  2. void input (T (&Array) [N])
  3. {
  4. for (T& val: Array) cin >> val;
  5. }
  6.  
  7. template <typename T>
  8. void input (T (&store))
  9. {
  10. for (auto& val: Array) cin >> val;
  11. }
Add Comment
Please, Sign In to add comment