SHARE
TWEET

Untitled

a guest Apr 19th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top