sorry i made a wrong posting :)
its compiling
In some post it is stated that
Member function declarations with the same name and the name parameter-type-list cannot be overloaded if any of...
Type: Posts; User: Brw_Abhi
sorry i made a wrong posting :)
its compiling
In some post it is stated that
Member function declarations with the same name and the name parameter-type-list cannot be overloaded if any of...
Why overloading is not allowed in below case event though arguments are different?
how compiler interpret this program.
class Test {
static void fun() {}
void fun(int i) {} }; ...
Hi,
can any one give proper reason why should i use const as compaire to macro ?
i only want was the logic !!
and i think, its sufficient to try with.
Hi MacGyver,
you have give code :cool:
Thanks let me try with ur logic .
Well,
thanks all for your response..
Its not a home work , its a part of image decoder code . and i am trying to convert it in C. So i asked for the logic in the assembly code.
I need to understand, what this code is doing, i dont know assambly coding .
what would be the impact, if i change this logic with corrosponding c code,
thanks in adv.
WORD lookKbits(BYTE k)...
Thank's salem,
let me try it
What can i predict from this code ?
say ## is a Token merge
and if this int* and char* are mine other structure pointer
#define MyTest(MINE_CONST) \
int* pInt, char*...
" void main() is evil. Use int main(). "
i read this message in the forum. but what is the main reason behind this ?
say i do void main() in my programme then, if i am giving the scope for...
Thanks to all for your valuable suggestions.
I will try to skick more to c++ manual.
thx salem,
Did operator "new" resembles to "realloc" functionality ?
say i initilization for pointer in constructor and free memory in destructor. still my code
gives run time...
This is my code for operator overloading;
where should i free memory in class with distructor ? if i do that i am getting exception.
--------------------------------
in Test.h file...
Thanks to all for your valuable comment.
Regard's
Actually,
i am using memory constrain mobile devices, so want to know whether any specific algorithm is there to find out this .
Ok,
so you mean to say that what ever free memory is in my RAM is the max malloc i can do is it ? or something else ?
How much max memory chunk can i allocate using a single malloc ? is there any size restriction for that ? on what this depends ?