| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions. |
|
|
Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
function as a parameter for function
Hi all,
I am using Visual C++ for a long time, but I have never use it. Can somebody explain me, how to create function, which calls function, which was given as a parameter? Something like this: Code:
void MainFuncion(SecondFunction)
{
LocalFunction1();
LocalFunction2();
...
SecondFunction();
}
Thx, PetrP. PS: I think that sample code will be the best way, how to learn it. |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|