Click here to Skip to main content
14,663,253 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Make buffer zero? Pin
Zac Howland9-Aug-06 6:03
MemberZac Howland9-Aug-06 6:03 
Questionoperator new Pin
Sarath C9-Aug-06 0:19
MemberSarath C9-Aug-06 0:19 
AnswerRe: operator new Pin
Steen Krogsgaard9-Aug-06 0:44
MemberSteen Krogsgaard9-Aug-06 0:44 
GeneralRe: operator new Pin
Sarath C9-Aug-06 1:52
MemberSarath C9-Aug-06 1:52 
GeneralRe: operator new Pin
Steen Krogsgaard9-Aug-06 3:10
MemberSteen Krogsgaard9-Aug-06 3:10 
GeneralRe: operator new Pin
Sarath C9-Aug-06 3:55
MemberSarath C9-Aug-06 3:55 
GeneralRe: operator new Pin
Steen Krogsgaard9-Aug-06 4:07
MemberSteen Krogsgaard9-Aug-06 4:07 
AnswerRe: operator new Pin
AbhishekBK9-Aug-06 1:45
MemberAbhishekBK9-Aug-06 1:45 
This is what I just wrote on VC7.0.

#include <iostream>

class MyClass {
    public:
           MyClass(int a){}
		   MyClass(){}
};

int main() {

	MyClass* p1 = new MyClass(6);
	MyClass* p2 = new MyClass[6];
}


This works just fine.


-- modified at 6:50 Tuesday 15th August, 2006

Abhishek

AnswerRe: operator new Pin
Zac Howland9-Aug-06 4:40
MemberZac Howland9-Aug-06 4:40 
QuestionDoubt in VS2005 Pin
Member 30398439-Aug-06 0:18
MemberMember 30398439-Aug-06 0:18 
AnswerRe: Doubt in VS2005 Pin
Kevin McFarlane9-Aug-06 0:34
MemberKevin McFarlane9-Aug-06 0:34 
AnswerRe: Doubt in VS2005 Pin
Hamid_RT9-Aug-06 2:36
MemberHamid_RT9-Aug-06 2:36 
QuestionMSVCR80.dll problem ....plz help Pin
sach!!9-Aug-06 0:08
Membersach!!9-Aug-06 0:08 
AnswerRe: MSVCR80.dll problem ....plz help [modified] Pin
AbhishekBK9-Aug-06 1:02
MemberAbhishekBK9-Aug-06 1:02 
GeneralRe: MSVCR80.dll problem ....plz help Pin
sach!!9-Aug-06 1:13
Membersach!!9-Aug-06 1:13 
AnswerRe: MSVCR80.dll problem ....plz help Pin
Cedric Moonen9-Aug-06 1:18
MemberCedric Moonen9-Aug-06 1:18 
GeneralRe: MSVCR80.dll problem ....plz help Pin
AbhishekBK9-Aug-06 1:40
MemberAbhishekBK9-Aug-06 1:40 
GeneralRe: MSVCR80.dll problem ....plz help Pin
sach!!9-Aug-06 3:22
Membersach!!9-Aug-06 3:22 
GeneralRe: MSVCR80.dll problem ....plz help Pin
AbhishekBK9-Aug-06 4:16
MemberAbhishekBK9-Aug-06 4:16 
Questionshow Tooltip from application Pin
Manjunath S8-Aug-06 23:43
MemberManjunath S8-Aug-06 23:43 
AnswerRe: show Tooltip from application Pin
Naveen9-Aug-06 0:13
MemberNaveen9-Aug-06 0:13 
GeneralRe: show Tooltip from application Pin
Manjunath S9-Aug-06 0:29
MemberManjunath S9-Aug-06 0:29 
GeneralRe: show Tooltip from application Pin
Naveen9-Aug-06 0:35
MemberNaveen9-Aug-06 0:35 
AnswerRe: show Tooltip from application Pin
Hamid_RT9-Aug-06 2:51
MemberHamid_RT9-Aug-06 2:51 
QuestionIME problems Pin
Waldermort8-Aug-06 23:39
MemberWaldermort8-Aug-06 23:39 

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.