Word wheel: Difference between revisions

Content added Content deleted
m (C - removed inline keyword)
Line 45: Line 45:
#define LETTERS 26
#define LETTERS 26


inline bool is_letter(char c) { return c >= 'a' && c <= 'z'; }
bool is_letter(char c) { return c >= 'a' && c <= 'z'; }


inline int index(char c) { return c - 'a'; }
int index(char c) { return c - 'a'; }


void word_wheel(const char* letters, char central, int min_length, FILE* dict) {
void word_wheel(const char* letters, char central, int min_length, FILE* dict) {