summaryrefslogtreecommitdiff
path: root/tongues.c
diff options
context:
space:
mode:
Diffstat (limited to 'tongues.c')
-rw-r--r--tongues.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/tongues.c b/tongues.c
deleted file mode 100644
index 5b90cdf..0000000
--- a/tongues.c
+++ /dev/null
@@ -1,38 +0,0 @@
-#include "session.h"
-#include "utils.h"
-#include <stdio.h>
-#include <stdlib.h>
-
-int
-main (int argc, char **argv)
-{
-
- FILE *dictionary = NULL;
-
- switch (argc)
- {
- case 1:
- if (checkIfFileExists ("dictionary.dict") == 0)
- {
- dictionary = fopen ("dictionary.dict", "r");
- }
- break;
- case 2:
- if (checkIfFileExists (argv[1]) == 0)
- {
- dictionary = fopen (argv[1], "r");
- }
- }
-
- if (dictionary != NULL)
- {
- startSession (dictionary);
- fclose (dictionary);
- }
- else
- {
- printf ("No Dictionary Found\n");
- }
-
- return 0;
-}