Quoted By:
Hey guys, so i asked this on advice but i'm supposed to ask here. i need help with c++ homework. So i'm supposed to create 2d array with x columns and y rows(x=5, y=2) and in each of those cells i'm supposed to store a name, like popular names. When i ask the user to input his name, i'm supposed to have my program first cout both rows of the names and tell him in which cell his name was found. Like your name was on row 1 and cow 3. But i can't figure out how to store names in each cell. I do not have a list of names already, the names i store in each cell can be the first 10 names off the top of my head. I also know what arry[0][1] = means, but i only know how to store numbers in that location.