Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Basic question regarding callbacks
Re: Basic question regarding callbacks [message #27021 is a reply to message #27020] Mon, 21 June 2010 18:24 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
- delegates:
For a global function (as you would have in C) you need only a pointer to the function to call it. If the function is a member function of a class (as you might get in C++) you also need to know which object to call the function against and so you must additionally store an object pointer. This combination is a 'delegate', but it's just a name for a common type of structure.

-debugging
GCC breakpoints (in TheIDE) don't work if the program is running, it's a real pain. You need to set them before execution or when the debugger has already stopped.

To inspect variables you need to use the immediate window (Ctrl+Q while debugging). I tend to do my debugging on Windows first for these reasons.

[Updated on: Mon, 21 June 2010 18:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Drag & Drop box
Next Topic: Compilers: Microsoft vs GCC (or MinGW)
Goto Forum:
  


Current Time: Wed May 15 19:59:10 CEST 2024

Total time taken to generate the page: 0.02377 seconds