Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Science and Art > Tech Help

 
 
Thread Tools Display Modes

 
Passing function pointers
Reply
Posted 2005-02-17, 05:18 PM
Here's a situation I've never encountered before: Does anyone know if function pointers can be passed as arguments?
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2005-02-17, 05:27 PM in reply to Demosthenes's post "Passing function pointers"
mjordan2nd said:
Here's a situation I've never encountered before: Does anyone know if function pointers can be passed as arguments?
Never mind. Just figured out I can. Thanks for taking the time to read this anyway.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2005-02-18, 12:05 PM in reply to Demosthenes's post starting "Never mind. Just figured out I can...."
Just remember that the function name by itself is an address and that you don't need to dereference a function pointer to call it.
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired
 



 
Reply
Posted 2005-02-18, 01:56 PM in reply to WetWired's post starting "Just remember that the function name by..."
WetWired said:
Just remember that the function name by itself is an address and that you don't need to dereference a function pointer to call it.
Thanks WW.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2005-03-05, 10:19 PM in reply to Demosthenes's post starting "Thanks WW. :)"
When i read this title, i read

Password Fucking Pointers
Old
Profile PM WWW Search
slaynish enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzslaynish enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
slaynish
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:02 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.