removed client code and executable, use ncat or similar program to communicate with the server

This commit is contained in:
Arthur-Coppey
2021-11-26 13:35:43 +01:00
parent c63415c134
commit fb4052dcff
9 changed files with 1 additions and 124 deletions
+22
View File
@@ -0,0 +1,22 @@
//
// Created by k0rb4k on 30/03/2021.
//
#ifndef QOTD_QUOTE_H
#define QOTD_QUOTE_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bits/types/FILE.h>
#include <bits/types/struct_FILE.h>
#define QUOTES_FILE "./quotes.txt"
void getRandomQuote(char quote[2048]);
void getQuote(long line, char quote[2048]);
int getFileLineCount(char* filename);
#endif //QOTD_QUOTE_H