Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Socket Programming - no event raised Pin
Moak4-Oct-06 4:57
Moak4-Oct-06 4:57 
QuestionCSizingControlBar Pin
rcao10-Sep-06 19:00
rcao10-Sep-06 19:00 
AnswerRe: CSizingControlBar Pin
rcao10-Sep-06 20:47
rcao10-Sep-06 20:47 
QuestionProblem overriding operator new [modified] Pin
JKallen10-Sep-06 15:46
JKallen10-Sep-06 15:46 
AnswerRe: Problem overriding operator new Pin
Rinu_Raj10-Sep-06 17:55
Rinu_Raj10-Sep-06 17:55 
GeneralRe: Problem overriding operator new Pin
JKallen10-Sep-06 18:33
JKallen10-Sep-06 18:33 
GeneralRe: Problem overriding operator new Pin
Rinu_Raj10-Sep-06 18:37
Rinu_Raj10-Sep-06 18:37 
QuestionRe: Problem overriding operator new [modified] Pin
prasad_som10-Sep-06 22:56
prasad_som10-Sep-06 22:56 
Can you help reproducing this error ?
I tried this way.
template <typename T> class A
{
public:
	void* operator new[](size_t t) throw();
};
template <typename T>void* A<T>::operator new[](size_t t) throw()
	{
		return NULL;//just doing nothing
	}

int main(int argc, char* argv[])
{

	A<double>* objects;
    objects = new A<double> [5];      delete [] objects;
	return 0;
}

But no error occurs.


-- modified at 1:38 Tuesday 12th September, 2006


AnswerRe: Problem overriding operator new Pin
JKallen11-Sep-06 6:55
JKallen11-Sep-06 6:55 
GeneralRe: Problem overriding operator new Pin
prasad_som11-Sep-06 19:48
prasad_som11-Sep-06 19:48 
QuestionPropertyPages and data Pin
Mark F.10-Sep-06 14:43
Mark F.10-Sep-06 14:43 
AnswerRe: PropertyPages and data Pin
benben10-Sep-06 17:45
benben10-Sep-06 17:45 
AnswerRe: PropertyPages and data Pin
Renjith Ramachandran10-Sep-06 18:12
Renjith Ramachandran10-Sep-06 18:12 
AnswerRe: PropertyPages and data Pin
prasad_som10-Sep-06 23:35
prasad_som10-Sep-06 23:35 
AnswerRe: PropertyPages and data Pin
David Crow11-Sep-06 3:59
David Crow11-Sep-06 3:59 
GeneralRe: PropertyPages and data Pin
Mark F.14-Sep-06 12:02
Mark F.14-Sep-06 12:02 
QuestionRe: PropertyPages and data Pin
David Crow15-Sep-06 2:44
David Crow15-Sep-06 2:44 
QuestionConflict with wmplayer Pin
aritosteles10-Sep-06 12:21
aritosteles10-Sep-06 12:21 
QuestionNeed Help !!!! New To C++ / ifstream & ofstream info Pin
Mark_Murphy10-Sep-06 11:17
Mark_Murphy10-Sep-06 11:17 
AnswerRe: Need Help !!!! New To C++ / ifstream & ofstream info Pin
Christian Graus10-Sep-06 12:11
protectorChristian Graus10-Sep-06 12:11 
GeneralRe: Need Help !!!! New To C++ / ifstream & ofstream info Pin
Mark_Murphy10-Sep-06 12:44
Mark_Murphy10-Sep-06 12:44 
QuestionVC++ 6.0, MFC: Two different views attached to same document. Pin
requemao10-Sep-06 9:52
requemao10-Sep-06 9:52 
AnswerRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du10-Sep-06 10:28
Jun Du10-Sep-06 10:28 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
requemao10-Sep-06 11:24
requemao10-Sep-06 11:24 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du10-Sep-06 14:01
Jun Du10-Sep-06 14:01 

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.