Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 03:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C++ Win32 Frage

Discussion on C++ Win32 Frage within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
Xereon's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 793
Received Thanks: 366
C++ Win32 Frage

Hab da mal eine kleine Frage. Und zwar mache ich gerade ein Tutorial zur Win32 und bin da auf etwas gestoßen was ich nicht verstehe:
Code:
		void Register ()
		{
			[COLOR="Red"]::[/COLOR]RegisterClass (&_class);
		}
Kann mir einner sagen was dieser eine Operator vor der Funktion zu bedeuten hat?(Mir ist nur bekannt, das man ihn braucht, wenn man Elementfunktionen deklarieren will.)
Xereon is offline  
Old 12/05/2009, 15:44   #2
 
elite*gold: 115
Join Date: Oct 2007
Posts: 9,390
Received Thanks: 12,345
Das gibt an, dass die Funktion in keinem Namespace steht. Es könnte z.B. eine gleichnamige Funktion in einem Namespace geben. Die würde man dann so aufrufen:

Code:
MeinNamespace::RegisterClass (&_class);
ms​ is offline  
Thanks
1 User
Old 12/05/2009, 16:10   #3
 
Xereon's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 793
Received Thanks: 366
Quote:
Originally Posted by Disconnect View Post
Das gibt an, dass die Funktion in keinem Namespace steht. Es könnte z.B. eine gleichnamige Funktion in einem Namespace geben. Die würde man dann so aufrufen:

Code:
MeinNamespace::RegisterClass (&_class);
Achso, das erklärt einiges
Xereon is offline  
Old 12/05/2009, 16:11   #4
 
elite*gold: 0
Join Date: Sep 2006
Posts: 248
Received Thanks: 110
Man benutzt es fast immer für Globale Variablen.

backo is offline  
Reply


Similar Threads Similar Threads
[Release] ALL WIN32 DATATYPES!
06/20/2010 - CO2 PServer Guides & Releases - 5 Replies
Windows Data Types (Windows)
[GAME] ElitepvpShooters (Win32) v1.0
01/11/2010 - Video Art - 19 Replies
ElitepvpShooters (Win32) v1.0 Game Writing TGB 2D studios for elitepvpers. Game Caps; http://img199.imageshack.us/img199/3777/anandad.j pg http://img694.imageshack.us/img694/8528/ananda2.g if
[Release]Win32 Binaries [3.0.1]
06/25/2008 - WoW Private Server - 1 Replies
(c) by EpSiLoN * MaNGOS Rev.6178 HERE * MaNGOS Rev.6153 HERE * MaNGOS Rev.6140 HERE
Win32.Vulnerable.gen!High
05/04/2007 - Conquer Online 2 - 2 Replies
cant found information about this virus maybe somone can confirm what taht virus is?
hoax.win32.renos.dw
07/19/2006 - Conquer Online 2 - 6 Replies
Well, I got this virus recently, can't remember what it was from. BUT I've read a few threads on this website which stated that they had also obtained the virus, so if you're having trouble downloading the virus, here's a link to a guide to remove it. It's got an annoying setting which changes your homepage to www.syspot.net or something like that. ANYWAY here is the link for a guide to completely remove it: http://www.castlecops.com/t161567-Malware_...rus_A lerts.html I didnt copy and paste it...



All times are GMT +1. The time now is 04:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.