Replace by english message

This commit is contained in:
geoffrey 2023-09-25 19:28:36 +02:00
parent e0c4b67364
commit 7cce139996
2 changed files with 4 additions and 4 deletions

@ -3,9 +3,9 @@
void usage() { void usage() {
printf("Usage: [options] [crypt|decrypt] [file]\n"); printf("Usage: [options] [crypt|decrypt] [file]\n");
printf("Options:\n"); printf("Options:\n");
printf("\t-c: chiffrement de Cesar\n"); printf("\t-c: Caesar cipher\n");
printf("\t-v: chiffrement de Vigenere\n"); printf("\t-v: Vigenere cipher\n");
printf("\t-t: chiffrement par transposition\n"); printf("\t-t: Transposition cipher\n");
} }
int fileExist(const char *path) { int fileExist(const char *path) {
FILE *f=NULL; FILE *f=NULL;

2
main.c

@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
int key; int key;
do{ do{
printf("Votre cle de chiffrement (entre 1 et 26): "); printf("Your key (between 1 and 26): ");
scanf("%d",&key); scanf("%d",&key);
}while(key < 1 || key > 26); }while(key < 1 || key > 26);