Code:
static const char *list[100] = { "the", "of", "and", "a", "to", "in", "is", "you",
"that", "it", "he", "was", "for", "on", "are", "as", "with", "his", "they",
"I", "at", "be", "this", "have", "from", "or", "one", "had", "by",
"word", "but", "not", "what", "all", "were", "we", "when", "your", "can",
"said", "there", "use", "an", "each", "which", "she", "do", "how", "their",
"if", "will", "up", "other", "about", "out", "many", "then", "them", "these",
"so", "some", "her", "would", "make", "like", "him", "into", "time", "has",
"look", "two", "more", "write", "go", "see", "number", "no", "way", "could",
"people", "my", "than", "first", "water", "been", "call", "who", "oil",
"its", "now", "find", "long", "down", "day", "did", "get", "come", "made",
"may", "part"};
.
.
.
printf("%s\n", list[rand()] );
I still get errors they say, " HW#1b.c:46: error: ‘list’ undeclared (first use in this function)