Search found 5 matches

Actual Results

Post Posted: February 28th, 2004, 4:59 am

They produce, in fact. I think there is no difference...

Post Posted: February 27th, 2004, 8:54 am

It's a pity, that you don't know :) but it's possible "to overload" operators: void* operator new(size_t size) { // what you want to do 8) } There is also "operator new", which can't be overloaded (as I could find out). It's the operator, which only allocates memory (doesn't call any constructor) an...

Post Posted: February 27th, 2004, 8:34 am

Is it possible to write:

void g(void f(int i));

I know that better to write

void g(void (*f)(int i));

but the compiler doesn't mind the first one as well

???

Post Posted: February 27th, 2004, 8:30 am

Just want to ask, maybe someone knows about overloading "new operator" and "operator new". How to overload "operator new", if it's possible? For what to overload the "new operator" (some examples, if possible). Thanks in advance.

Post Posted: February 27th, 2004, 8:26 am

C++/C, Assembler, Pascal, HTML (but it's not the programming language :D )
  • Sort by
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.