CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2
  • Faltering Windows support
  • Internet Explorer 8 Click Clever Click Safe
  • Release Candidate 2 for ASP.NET MVC 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions.

     
     
    Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
    Prev Previous Post   Next Post Next
      #1    
    Old June 11th, 2002, 08:02 AM
    PetrP PetrP is offline
    Member
     
    Join Date: Nov 2001
    Posts: 101
    PetrP is an unknown quantity at this point (<10)
    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();
    }
    Can somebody tell me how to do it?

    Thx,

    PetrP.

    PS: I think that sample code will be the best way, how to learn it.
    Reply With Quote
     

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting 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 -5. The time now is 12:10 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.