0

What does :: mean and do?

14th Feb 2016, 1:00 AM
Jack Gao (JJ)
Jack Gao (JJ) - avatar
4 ответов
+ 1
it just says the programm, that the following funktion is in the class that comes before, so in this example: Class::func() the func() is the funktion/constructor (in this example it's a funktion) Class is the Class in wich the function/constructor stands ;)
29th Feb 2016, 9:47 PM
Andreas Wagner
Andreas Wagner - avatar
+ 1
scope(::)it is used to call the function outside the class
12th Jun 2016, 7:21 AM
Anol Maria Jacob
Anol Maria Jacob - avatar
0
:: is called the scope resolution operator and is used for the purpose of inheritance in c++
10th Jul 2016, 8:36 AM
Rajshree Jain
0
This Scope resolution operator
17th Sep 2016, 5:58 PM
Mahadevan S K