Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bilbobaggio

    problem printing array member data from a derived class

    I am having trouble with inheritance. here is a code sample. when i run the program it displays the first B object (ie the array of integers) but then i get an access violation. can anybody let me know what i am doing wrong? when i only create a pointer to a single B object it works fine. but...
  2. bilbobaggio

    Problem Linknig when using templates

    I am getting a linker error whe nusing templates. If i remove the templates from the following sample and make the num member of A an int by default i get no error. I have header file (A.h): template <class T> class A { public: A(): num(1) {} ~A() {} void print(); private: T...
  3. bilbobaggio

    Removing lines drawn on a dialog window

    Hi, In my MFC app I have a button which when clicked draws a few lines in the dialog window. If the button is re-clicked i need the previously drawn lines to be erased before drawing new ones. How do I accomplish this? Thanks
  4. bilbobaggio

    link error when using jni

    Hi, I have a class called myClass and i compile for use with jni using the following 'cl -Ic:\program*\Java\jdk1.5.0_01\include -Ic:\program*\Java\jdk1.5.0_01\include\win32 -LD myClassImpl.cpp -FemyClass.dll' myClassImpl.cpp implements the native call to getNum. class myClass { private...

Part and Inventory Search

Back
Top