Forum: C++ Dec 2nd, 2008 |
| Replies: 12 Views: 1,008 hey... i m new to this forum .... seems the deadline is over....are there any other contests in pipeline.... |
Forum: C++ Dec 2nd, 2008 |
| Replies: 17 Views: 50,292 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... |
Forum: C++ Nov 30th, 2008 |
| Replies: 4 Views: 459 Yes you are correct . Thanks a lot .
Actually , while replacing dynarray with Darray i replaced everything manually , so it worked . After ur post i switched all back to dynarray and it... |
Forum: C++ Nov 30th, 2008 |
| Replies: 4 Views: 459 Hi ,
Sorry for the trouble , i realised that dynarray is a memeber of namespace std.
I replaced it with Darray and the code compiled clean .
Thanks |
Forum: C++ Nov 30th, 2008 |
| Replies: 7 Views: 1,056 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... |
Forum: C++ Nov 30th, 2008 |
| Replies: 4 Views: 459 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... |