array

ok so if am going about this in a new way
now i am

infile.open("text.txt");
infile >>words[0] >> words[1]>>words[2] >> words[3] >> words[4];

that puts the words right into my array but when i print the array it comes out blank. The text.txt file has words in it and its reading the file but it comes out blank. What am i doing wrong here?
How do you know it is reading the file then?

It sounds like it is not.

What is the type of words? string[]?
what are the various data types ?
how to create a algorithm ?
Topic archived. No new replies allowed.