In words (always a great place to start), a simple (not necessarily the most efficient) procedure might go something like this:
1. Get the name from the user, store it
2. Get the six numbers from the user, store them in an array
3. Populate another array with six random numbers between 6 and 49.
4. For each of the randomly-generated numbers, see if the user guessed that number. If yes, increment the 'number matched' count by one.
5. Based on the number of matches, award prizes as appropriate...
Step 4 should inspire you to use a 'for' loop. Step 5 should inspire you to use a 'switch' statement or an 'if-else' control structure...
You know at compile time that you'll always be dealing with sets of six numbers, so you can statically declare an array to hold the numbers that the user inputs:
int userEntries[6];
Similarly, declare another array to hold the randomly-generated numbers.
You can then populate the user and random arrays by using cin and a random-number-generating function respectively. See
http://www.cplusplus.com/reference/clibrary/cstdlib/rand/
Hope this gets you started. Post your code if you get stuck.
Note: I guess this lotto is drawn WITHOUT replacement, right? That means that you can't have the same number drawn twice. Think about what that means for your program...
Further interesting note: The 'random' functions found in programming libraries are not truly 'random'. They are 'pseudo-random'. Check out
http://www.random.org/ for an interesting discussion on the topic :).