mirror of
https://git.k0rb4k.net/K0RB4K/qotd.git
synced 2026-09-26 21:31:01 +00:00
random quote done
This commit is contained in:
+8
-2
@@ -6,11 +6,17 @@
|
||||
#define QOTD_QUOTE_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <bits/types/FILE.h>
|
||||
#include <bits/types/struct_FILE.h>
|
||||
|
||||
void getRandomQuote(char quote[1024]);
|
||||
#define QUOTES_FILE "./quotes.txt"
|
||||
|
||||
void getQuote(int line, char quote[1024]);
|
||||
void getRandomQuote(char quote[2048]);
|
||||
|
||||
void getQuote(long line, char quote[2048]);
|
||||
|
||||
int getFileLineCount(char* filename);
|
||||
|
||||
#endif //QOTD_QUOTE_H
|
||||
|
||||
Reference in New Issue
Block a user