CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: class

  1. #1
    Join Date
    Jul 2018
    Posts
    11

    class

    i am new to vc++.
    i want to call a function which is defined in classA from classB.i tried do this
    classA tmp;
    tmp.functionname();

    but i keep getting debug assertion failed error.
    Note:classA and classB are present in different dialog.cpp files.
    kindly help

  2. #2
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,765

    Re: class

    Post the smallest and simplest compilable version of your program that demonstrates this error.
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured