Click here to Skip to main content
15,908,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OutputDebugString... Pin
vikramlinux2-Apr-03 22:38
vikramlinux2-Apr-03 22:38 
GeneralRe: OutputDebugString... Pin
Philip Patrick3-Apr-03 0:08
professionalPhilip Patrick3-Apr-03 0:08 
Generaltranslate winsock errors Pin
Dudi Avramov2-Apr-03 20:40
Dudi Avramov2-Apr-03 20:40 
GeneralQuestion about WS_SYSMENU Pin
Simon.W2-Apr-03 20:29
Simon.W2-Apr-03 20:29 
GeneralHelp about appending the latest data to another file.Thanks! Pin
dxhdxh2-Apr-03 20:03
dxhdxh2-Apr-03 20:03 
GeneralRe: Help about appending the latest data to another file.Thanks! Pin
Rage2-Apr-03 22:01
professionalRage2-Apr-03 22:01 
QuestionHow to use UNICODE string in VC6? Pin
_skidrow_vn_2-Apr-03 19:59
_skidrow_vn_2-Apr-03 19:59 
GeneralC++ related question Pin
John-theKing2-Apr-03 19:45
John-theKing2-Apr-03 19:45 
Hi friends !

Consider scenario

class A
{
  public:
      A()
      {
           cout << "In zero argument constructor";
      }

     A(int val)
      {
           cout << "In one argument constructor";
      }
};

void main()
{

  A *obj;
  obj= new A[20];

  // Blah
}


As you can see above, in main i used statement obj= new A[20];. As such the zero argument constructor gets called. What i want is that this statement cause one argument constructor to get called. How is it possible ??

ThankX.
Bye Bye
GeneralRe: C++ related question Pin
Taka Muraoka2-Apr-03 19:59
Taka Muraoka2-Apr-03 19:59 
GeneralRe: C++ related question Pin
Alvaro Mendez3-Apr-03 5:40
Alvaro Mendez3-Apr-03 5:40 
QuestionSystem.XML – alike class library for Visual C++ 6.0 ? Pin
Serge Krynine2-Apr-03 19:43
Serge Krynine2-Apr-03 19:43 
AnswerRe: System.XML – alike class library for Visual C++ 6.0 ? Pin
Pavel Klocek2-Apr-03 20:18
Pavel Klocek2-Apr-03 20:18 
AnswerRe: System.XML – alike class library for Visual C++ 6.0 ? Pin
Ravi Bhavnani3-Apr-03 4:23
professionalRavi Bhavnani3-Apr-03 4:23 
Generalsplitter window Pin
getsammy2-Apr-03 17:16
getsammy2-Apr-03 17:16 
GeneralRegistry manipulation Pin
J.B.2-Apr-03 15:32
J.B.2-Apr-03 15:32 
GeneralRe: Registry manipulation Pin
RaajaOfSelf2-Apr-03 16:27
RaajaOfSelf2-Apr-03 16:27 
GeneralRe: Registry manipulation Pin
De Nardis Andrea2-Apr-03 20:52
De Nardis Andrea2-Apr-03 20:52 
QuestionI want to Hook Mouse but failed? Pin
white jungle2-Apr-03 15:30
white jungle2-Apr-03 15:30 
AnswerRe: I want to Hook Mouse but failed? Pin
Simon.W2-Apr-03 18:47
Simon.W2-Apr-03 18:47 
GeneralRe: I want to Hook Mouse but failed? Pin
white jungle2-Apr-03 19:25
white jungle2-Apr-03 19:25 
GeneralRe: I want to Hook Mouse but failed? Pin
Simon.W2-Apr-03 20:37
Simon.W2-Apr-03 20:37 
GeneralDirectory changing.. and command lines.. Pin
(Steven Hicks)n+12-Apr-03 12:45
(Steven Hicks)n+12-Apr-03 12:45 
Generalsendmessage and CDialog pointer Pin
nss2-Apr-03 12:19
nss2-Apr-03 12:19 
GeneralRe: sendmessage and CDialog pointer Pin
valikac2-Apr-03 12:43
valikac2-Apr-03 12:43 
GeneralRe: sendmessage and CDialog pointer Pin
nss2-Apr-03 12:50
nss2-Apr-03 12:50 

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.