locked
Sending message between methods RRS feed

  • Question

  • Hi

    i just want to have some example of sending message in vc++ within the methods.can anyone post such example?

    regards
    sayantan chakraborty http://profile.imageshack.us/user/csayantan/
    Thursday, December 17, 2009 2:50 PM

Answers

  • the first one. I suggest you find an object oriented programming book, preferably one that use C++ for examples.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    • Marked as answer by Wesley Yao Wednesday, December 23, 2009 3:14 AM
    Tuesday, December 22, 2009 2:44 PM

All replies

  • what kind of message? Windows message? Instant messenging? EMail?

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    Thursday, December 17, 2009 7:35 PM
  • in object oriented progs,two methods can interchange messages eg. Smalltalk is giving this facility.so i just want to know how to do the same in c/c++,vc++??


    regards

    sayantan chakraborty http://profile.imageshack.us/user/csayantan/
    Thursday, December 17, 2009 9:31 PM
  • you can just create a structure that holds the data and pass it around.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    Friday, December 18, 2009 12:25 AM
  • hi

    can you explain your idea a bit....

    http://www.objectvalue.com/articles/CppMessagePassingV04.html

    or
    http://www.codeguru.com/cpp/cpp/cpp_mfc/templates/article.php/c7077/


    are you talking the same as the link said?

    Regards
    sayantan chakraborty http://profile.imageshack.us/user/csayantan/
    Friday, December 18, 2009 8:00 AM
  • the first one. I suggest you find an object oriented programming book, preferably one that use C++ for examples.

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    • Marked as answer by Wesley Yao Wednesday, December 23, 2009 3:14 AM
    Tuesday, December 22, 2009 2:44 PM