Advertisement
GlitchyTech

Untitled

Mar 5th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. vectorD make_vd(size_t size){
  2.     vectorD vd = {NULL, size, max(size, 100)};
  3.     vd.p = (double*)calloc(vd.capacity, sizeof(double));
  4.     return vd;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement