CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12

Threaded View

  1. #4
    Join Date
    Apr 1999
    Posts
    27,449

    Re: allocating and deallocating

    Quote Originally Posted by Aashi View Post
    it complies, takes input and then program crashes.

    I know, but i want to use this for learning.
    Part of learning how to program is to know how to debug your own code. Just writing code and then dumping it here waiting for us to debug it is not the way you learn how to write a program. You must make the effort to debug your own code. You wrote it, you must be able to debug it.
    please tell how can i make my program working? it crashes after taking input.
    Can you at the very least identify which line causes the crash? Once you figure out which line it crashes on, look at that line and learn what could have happened. Use the debugger that comes with your compiler to step through the program.

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; November 6th, 2011 at 08:31 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured