Etudes/BTS/C/Premiere annee/conversionRLE/main.c

18 lines
293 B
C
Raw Normal View History

2016-10-14 15:11:52 +00:00
#include "biblio.h"
int main(int argc, char *argv[])
{
if(argc == 4)
{
if(strcmp(argv[1], "d") == 0)
{
decompressBMP(argv[2], argv[3]);
}
if(strcmp(argv[1], "c") == 0)
{
compressBMP(argv[2], argv[3]);
}
}
}