title: Automatic inputs into a c program from a text file
body: <p>Is it possible in C , to input data from a text file automatically.If not in C , then is it possible in other languages.
  For eg: i am building a tree and each node of the tree is supposed to contain 1000 most popular English words.Now instead of providing manual inputs , i was wondering if i could do it automatically by pasting all the words in a text file and then using some operation to store them into each node one by one. I only want to know if it's possible , i'll work out the rest , if it is.If not in C,then is it possible in any other language.</p>