Vectors as Object Data Modify polygon.cpp to allow the interactive drawing of an irregular polygon. Arrays Vectors are generally more convenient to use than the traditional C-style arrays . When defining an array, you must initialize its size to a constant value, and you cannot change that value again. If you fill the array gradually, you must keep track of the actual size of the array and ensure that it does not exceed the maximum size. Defining and Using Matrices Vectors store a linear arrangement of values, accessed by a single index.
Crosswords are a type of puzzle which have letters in common.
For example, d across w n share the letter 'o'. Write a program that will accept a list of words into a vector of strings, then make a 20 x 20 array of characters that contains a crossword puzzle with these words. Place the first word horizontally in the center of the top row. Place the next word vertically. Check if there is a common letter with the preceding word, and if all the squares into which you want to place that word are still empty.