No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: Hi , Not sure if you guys are not considering "fflush" on purpose , but you can even use to fflush the console buffer before getting the line to fflush the "Enter" which is present in the buffer after entering the number. I am modifying the original piece of code … | |
![]() | Re: hey... i m new to this forum .... seems the deadline is over....are there any other contests in pipeline.... ![]() |
Hi In the below code , i am getting compile time error when declaring the copy constructor . C:\work\Dev-Cpp\bin>"mingw32-c++.exe" dynamicArray.cpp dynamicArray.cpp:13: error: expected `,' or `...' before '&' token dynamicArray.cpp:13: error: ISO C++ forbids declaration of `dynarrray' with no t ype dynamicArray.cpp:13: error: `dynarray::dynarray(int)' and `dynarray::dynarray(in t)' cannot be overloaded … | |
Re: The use of copy constructor and overloading an assignment operator is same ( i.e. to eliminate the data loss,specially when the class has pointer members , when objects are being copied either as an argument to fuction or return from a function or initialization or copying ) ; but both … |
The End.