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

Threaded View

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

    Re: storing filenames in an array

    Quote Originally Posted by palireza View Post
    I have no problem when I don't include a "." between student and number "1" but as I add a "." there my code does not run. ( it does complie but crashes during the run)
    You more than likely corrupted the memory due to incorrect usage of new / delete (which is why you should use containers, so these mistakes are not made).

    In actuality, we don't know what you really did, since you didn't post your actual program that you're running. We don't know the data you're using, the flow of the program, where these lines are called/used, etc. We don't even know what "Table_Name", or convertInt() is.

    Post a full, but simple program that demonstrates the error.

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; October 2nd, 2012 at 05:08 PM.

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