cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
:: operator
:: operator
Oct 24, 2012 at 9:37am UTC
Fransje
(435)
In for example this code:
1
2
3
void
Sys_ShowWindow(
bool
show ) { ::ShowWindow( win32.hWnd, show ? SW_SHOW : SW_HIDE ); }
What do the two colons before ShowWindow() mean?
Oct 24, 2012 at 10:03am UTC
guestgulkan
(2942)
It is called the
scope resolution operator
Rather than give a long explaination of my own - google is your friend.
or see if you understand this explanation here..
http://www.cs.kent.edu/~volkert/cs23021/S06/Namespaces.pdf
Oct 26, 2012 at 10:30am UTC
Fransje
(435)
Thanks!
Topic archived. No new replies allowed.