Advertisement
coder2k

Untitled

Jun 18th, 2024
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #ifndef UTILS_H
  2. #define UTILS_H
  3.  
  4. int sum(int a, int b);
  5.  
  6. void print(const int* begin, const int* end);
  7.  
  8. extern int global;
  9.  
  10. void print_global(void);
  11.  
  12. typedef struct {
  13.     double x;
  14.     double y;
  15. } Vec2;
  16.  
  17. Vec2 vec2_add(Vec2 a, Vec2 b);
  18.  
  19. Vec2 vec2_subtract(Vec2 a, Vec2 b);
  20.  
  21. void vec2_print(Vec2 vec);
  22.  
  23. #endif
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement