Well, if you already know that :: is the "scope resolution thingy" and . is "class member thingy" it should be obvious how to use it.
No offence, but you really should look it up online, in your tutorial, or ask your teacher about things before you post them here... What I mean is that your teacher or tutorial couldn't just tell you what their names are and doesn't even show you an example, could it?