test thingy
parent
435da31704
commit
04de463136
@ -0,0 +1,21 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
uint8_t hdr_byte;
|
||||
uint8_t bpp;
|
||||
uint16_t imgfmt;
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
uint16_t bypl;
|
||||
uint32_t zeroed;
|
||||
uint16_t zeroed_2;
|
||||
} bmp_header;
|
||||
struct bmp_header input_hdr;
|
||||
int main(int argc, char** argv) {
|
||||
if (argc != 2) {
|
||||
printf("usage: %s <filename>", argv[0]);
|
||||
}
|
||||
const char* filename = argv[1];
|
||||
printf("%s", filename);
|
||||
}
|
Loading…
Reference in new issue