- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a pointer function holds the value of a function
you can do
#include <stdlib.h>
#include <stdio.h>
struct win{
};
struct api{
};
struct Windows{
struct api (*pfunc)(struct api,int);
};
and in cpp you can include classes in pointer function arguments/definitons
hope this helps!
can work excellently in messaging, you can hold the value of something like a form and follow it with attributes
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page