what are member function??
what is the use of :: in them ??
what are static and non static member function??
Abhinisha
0
Light Poster
Recommended Answers
Jump to PostA member function is a method (or function) which is contained (declared) in a class.
The :: indicates that anything to the right of :: is the name of the member function. For example, Foo::Bar shows that the method/function Bar is a member of class Foo.
A static member function …
Jump to PostThe "this" keyword refers to the instance of the class which "this" is being called in. For example, if you were to use "this" in the Foo class, then "this" is representing an instance of Foo.
Let's suppose that class Foo has another class member int fubar, and we want …
All 7 Replies
MonsieurPointer
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
MonsieurPointer
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Abhinisha
0
Light Poster
MonsieurPointer
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.