Skip to content

Instantly share code, notes, and snippets.

View yudi-azvd's full-sized avatar
💭
provavelmente programando

Yudi Yamane yudi-azvd

💭
provavelmente programando
View GitHub Profile
@yudi-azvd
yudi-azvd / diff.c
Last active February 14, 2023 18:31
Programa que compara dois arquivos BMP e diz quais pixels são diferentes
#include <locale.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define CMP_PIXEL_BUFFER 128
#define BMP_HEADER_OFFSET 54
// Header Bitmap em stuct sem padding