Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.39 KB | None | 0 0
  1. typedef struct      s_node
  2. {
  3.     unsigned char   *content;
  4.     unsigned char   *ch;
  5. }                   t_node;
  6.  
  7. void foo(t_node **arr)
  8. {
  9.     (*arr)[i].content = malloc;
  10.     (*arr)[i].ch = ft_memchr(&(*arr)[fd].content, EOL, len));
  11.     как посчитать разницу между ch и content?
  12. }
  13.  
  14. void main()
  15. {
  16.     t_node *ptr;
  17.     ptr = malloc; //Тут массив структур выделяем
  18.    
  19.     foo(&ptr);
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement