Advertisement
ROMaurice

Constructor C++

Oct 19th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. Node(myType data_Param)
  2. {
  3.     data = data_Param;
  4.     next = nullptr;
  5.     previous = nullptr;
  6. }
  7.  
  8. Node(myType data_Param):
  9.     data(data_Param), next(nullptr), previous(nullptr) {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement