Hi shabbir, Can you tell me how to check whether memory is allocated or not manually? and also about placement new operator? Regards, sharmila
Hi shabbir, Yes, we can get the memory where the buffer is allocated.But, with that we are not sure that the compiler is searching for that...
Hi shabbir, We will not get one.B'caz that format is different.They wrote as The format of this information is probably different from that...
Hi shabbir, In that link it is menctioned that Typically, array new will insert information adjacent to the memory allocated for an array...
Hi, I got the answer in a site.I am giving the link. http://www.awprofessional.com/articles/article.asp?p=30642&seqNum=1 Regards, sharmila.
Hi all, To delete an array of objects we use delete[] and to delete an object we use delete.But how the compiler knows that in delete[] how...
Hi all, One more doubt regarding pointers and reference.Somewhere I saw a code like this template<class T> class Abc { public: Abc(T*...
Its my pleasure.
## is a concatination preprocessor operator. #define _L(a) (TPtrC((const TText *)L ## a)) means here the value of 'a' is appended to (const...
I tried sample Hello program.Only one cout statement.Before it compiles it is prompting an error EESWT.DLL The requested file could not be...
Here I did not choosen any project.I just opened a c/c++ source file and wrote the code there.When I compiled it creates a default workspace and...
Thank you Rajiv and Coderzone.Noe I came to understand why user-defined constructors are necessary when there are constants.Thank you very much....
Hi all, This time I have a doubt in C++ default constructors.In a site...
Thank you.
Hi, I tested using gcc compiler.it is not giving any errors.It is executing normally.But in VC with .c extension it is giving errors.
I don't know whether it helps you or not. There is a function called system() which is used to issue a shell command. int system(const char...
ok.Coderzone.Thank you.I will also try for that.If I got any doubt I will get back to you. Thank you once again.
I mean using const qualifier.i.e compile-time and run-time concept for 'const' variables.
Hi shabbir, Thank you.I tried that one and I understood how we have to use const variables.In C are we having any compile-time constants?or...
Thank you.But my doubt remailns like that.In another site http://builder.com.com/5100-6370_14-5090819.html it is written const int...
Separate names with a comma.