Advertisement
Guest User

Untitled

a guest
May 24th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. typedef struct
  5. {
  6. int rosso;
  7. int verde;
  8. int blu;
  9. }pixel;
  10. int comprimi (**pixel,int,int,**pixel);
  11.  
  12.  
  13. int main()
  14. {
  15. printf("Hello world!\n");
  16.  
  17.  
  18.  
  19. return 0;
  20. }
  21. int comprimi (**pixel pm,int dimM,int k,**pixel pmc)
  22. {
  23. for(int i=0; i<dimM; i++)
  24. for(int j=0;j<dimM-k;j++)
  25. {
  26.  
  27. for(int x=i; x<k+i; x++)
  28. for(int y=j; y<k+j; y++)
  29. {
  30.  
  31. }
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement