I'm fine with working everything out but when compiled the error,
" [Error] expected ';' before 'people' " is given to the lines below (When the bold area is removed the program works fine.)
I'm guessing you want to use the equal to operator instead of the assignment operator of the assignment operator and > instead of the a bitshift operator in lines 7 and 12