Re: [Dev-C++] Operator overloading - String concatenation
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Daniel K. O. <dan...@ya...> - 2004-08-20 07:51:30
|
Abhijeet S wrote: > this is the program I have written.. this works fine on Turbo C++ > except that in the end it gives a null pointer assignment after giving > the output. in DevC++ it just accepts the input and crashes.. can > anyone tell me why.. I tried using the while loop structure too but > same error also tried finding out the length of the sting and then > using that in the for loop > anyways.. I guess I'm going in the wrong direction so can anyone help > me out ? This was already answered (by me) to your previous e-mail. It's time to learn what "memory allocation" means. Any good book/tutorial have this topic. (where are you learning C++ from?) Daniel K. O. |