Hello there!
A very quick question: Can I use an already defined int as array size? I want to make an array the same length as a string.
I use ifstream to read in a random word from a file and I use .length to get the length of it and set "int wordLength" to "word.length". Now I want to create an array like: "word[wordLength]
So is it possible? I just get compiler moan when I try to do it...
Help is appreciated!