Click here to Skip to main content
15,893,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help with an Application Icon Pin
PJ Arends15-Mar-05 10:32
professionalPJ Arends15-Mar-05 10:32 
GeneralRe: Need help with an Application Icon Pin
Ian Bowler15-Mar-05 11:35
Ian Bowler15-Mar-05 11:35 
Generalclass with dynamic array Pin
Anonymous15-Mar-05 7:30
Anonymous15-Mar-05 7:30 
GeneralRe: class with dynamic array Pin
includeh1015-Mar-05 7:46
includeh1015-Mar-05 7:46 
GeneralRe: class with dynamic array Pin
tmphan_200515-Mar-05 9:21
tmphan_200515-Mar-05 9:21 
GeneralRe: class with dynamic array Pin
poiut15-Mar-05 9:35
poiut15-Mar-05 9:35 
GeneralRe: class with dynamic array Pin
tmphan_200516-Mar-05 3:21
tmphan_200516-Mar-05 3:21 
GeneralRe: class with dynamic array Pin
David Crow15-Mar-05 9:26
David Crow15-Mar-05 9:26 
Anonymous wrote:
int array[MAXSIZE]; //MAXSIZE is dynamic

This array has a static, not dynamic, size. To make it dynamic:

class CMyArray : public CObject
{
private:
    int *array;
 
public:
    CMyArray()
    {
        array = new int[MAXSIZE];
    }
 
    virtual ~CMyArray()
    {
        delete [] array;
    }
};



"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


GeneralRe: class with dynamic array Pin
poiut15-Mar-05 9:42
poiut15-Mar-05 9:42 
GeneralRe: class with dynamic array Pin
David Crow15-Mar-05 9:47
David Crow15-Mar-05 9:47 
GeneralRe: class with dynamic array Pin
poiut15-Mar-05 10:36
poiut15-Mar-05 10:36 
GeneralRe: class with dynamic array Pin
Christian Graus15-Mar-05 10:46
protectorChristian Graus15-Mar-05 10:46 
Generalconvert a handle to a hwnd Pin
Tom Wright15-Mar-05 7:30
Tom Wright15-Mar-05 7:30 
GeneralRe: convert a handle to a hwnd Pin
PJ Arends15-Mar-05 10:40
professionalPJ Arends15-Mar-05 10:40 
GeneralRe: convert a handle to a hwnd Pin
Michael Dunn15-Mar-05 10:50
sitebuilderMichael Dunn15-Mar-05 10:50 
GeneralRe: convert a handle to a hwnd Pin
John R. Shaw15-Mar-05 11:05
John R. Shaw15-Mar-05 11:05 
GeneralRe: convert a handle to a hwnd Pin
Tom Wright15-Mar-05 12:57
Tom Wright15-Mar-05 12:57 
GeneralRe: convert a handle to a hwnd Pin
John R. Shaw16-Mar-05 12:15
John R. Shaw16-Mar-05 12:15 
General'Release' in C++.Net Pin
ddmcr15-Mar-05 7:11
ddmcr15-Mar-05 7:11 
GeneralRe: 'Release' in C++.Net Pin
Tom Wright15-Mar-05 7:31
Tom Wright15-Mar-05 7:31 
GeneralRe: 'Release' in C++.Net Pin
Michael Dunn15-Mar-05 10:48
sitebuilderMichael Dunn15-Mar-05 10:48 
GeneralRe: 'Release' in C++.Net Pin
Serge Krynine15-Mar-05 16:39
Serge Krynine15-Mar-05 16:39 
GeneralProblem regarding CString class Pin
ddmcr15-Mar-05 6:50
ddmcr15-Mar-05 6:50 
GeneralRe: Problem regarding CString class Pin
includeh1015-Mar-05 7:54
includeh1015-Mar-05 7:54 
GeneralRe: Problem regarding CString class Pin
ddmcr15-Mar-05 8:06
ddmcr15-Mar-05 8:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.