How to get pointer on function?

Moderatoren: crack, Krüsty, Marwin

Beitragvon Ignat » Samstag 16. August 2003, 00:09

Hi!
I dont remember how to get the pointer on the function...
Only dont remember and basta! :(
Can you help me?
If the ship don't know where to go - it has no fair wind...
Ignat
Alter Hase
 
Beiträge: 80
Registriert: Samstag 2. August 2003, 11:13

Beitragvon butterkeks » Samstag 16. August 2003, 16:44

Try prefixing it with a "&" (like for a var), but Im not sure...
...Signatur?<br>Was ist das denn schon wieder?
butterkeks
Member
 
Beiträge: 15
Registriert: Mittwoch 13. August 2003, 20:24
Wohnort: Düren, kennste eh nich'...

Beitragvon Ignat » Samstag 16. August 2003, 20:52

No.. It doesnt work.... :(
If the ship don't know where to go - it has no fair wind...
Ignat
Alter Hase
 
Beiträge: 80
Registriert: Samstag 2. August 2003, 11:13

Beitragvon butterkeks » Sonntag 17. August 2003, 13:48

mhhh...
Passing just the name works for me (of course, without "()")...
...Signatur?<br>Was ist das denn schon wieder?
butterkeks
Member
 
Beiträge: 15
Registriert: Mittwoch 13. August 2003, 20:24
Wohnort: Düren, kennste eh nich'...

Beitragvon Manni-P » Freitag 6. Februar 2004, 12:32

Bill has the answers to all of your questions -- even those questions you havent asked yet.

Try this link:
Search for "Function Pointers"

B)
Manni-P
Member
 
Beiträge: 11
Registriert: Freitag 6. Februar 2004, 10:04


Zurück zu C/C++


Social Bookmarking
Bookmark bei: Mr. Wong Bookmark bei: Del.icio.us Bookmark bei: Webnews Bookmark bei: Icio Bookmark bei: Oneview Bookmark bei: Linkarena Bookmark bei: Newskick Bookmark bei: Folkd Bookmark bei: Yigg Bookmark bei: Digg Bookmark bei: Reddit Bookmark bei: Simpy Bookmark bei: StumbleUpon Bookmark bei: Slashdot Bookmark bei: Netscape Bookmark bei: Furl Bookmark bei: Yahoo Bookmark bei: Spurl Bookmark bei: Google Bookmark bei: Blinklist Bookmark bei: Blogmarks Bookmark bei: Diigo Bookmark bei: Technorati Bookmark bei: Newsvine Bookmark bei: Blinkbits Bookmark bei: Ma.Gnolia Bookmark bei: Smarking Bookmark bei: Netvouz

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder

cron