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

Search:

Type: Posts; User: pnastis

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,955

    Re: New with templates!! pls help

    hello..its only for educational purposes. its not a real program. so..the destructor of that class should be like the below?

    ~Complex(){cout<<"Destructor\n"; delete rp; delete ip;}
  2. Replies
    3
    Views
    3,955

    New with templates!! pls help

    Hello. Iam new in programming and i have a problem with templates class:

    #include <iostream>

    using namespace std;

    template <class T>
    class Complex{
    T *rp,*ip; // pointers se...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured