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

Threaded View

  1. #1
    Join Date
    Oct 2004
    Location
    Long Beach, CA
    Posts
    179

    Weird runtime error

    Hi guys! I haven't been visiting this forum for nearly three years.

    I was browsing some of my old programs, and I came across an Enigma rotor cipher simulator I coded. I re-compiled it, and now I have a runtime error I never had before:

    It'll ask me whether I want to encrypt or decrypt, and let me enter the rotor settings, but then it won't let me enter the cleartext.

    The code is attached. I hope I followed proper OO principles! It's probably some very simple error in main()...I hope.

    Thanks!
    Attached Files Attached Files
    Last edited by Apollyon; July 2nd, 2010 at 09:39 PM.
    The nerds will rule over the common folk. The geeks will rule over the nerds. The supergeeks will rule over the geeks. The hackers will rule over the supergeeks. The superhackers will rule over the hackers. Mwhahaha; I'll rule you all!!!

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