Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. #include "bmp_header.h"
  4.  
  5. typedef struct
  6. {
  7. char blue;
  8. char green;
  9. char red;
  10. } Pixel;
  11. // cand aloc piesele fac si marginile albe
  12. int main(int argc, char *argv[]) {
  13. FILE *in, *out;
  14. struct bmp_fileheader header;
  15. struct bmp_infoheader info;
  16.  
  17. if (strcmp(argv[1], "1") == 0) {
  18. printf("Task1\n");
  19. }
  20.  
  21. if (strcmp(argv[1], "2") == 0) {
  22. printf("Task2\n");
  23. }
  24.  
  25. if (strcmp(argv[1], "3") == 0) {
  26. printf("Task3\n");
  27. }
  28.  
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement