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

Threaded View

  1. #18
    Join Date
    Jun 2012
    Posts
    18

    Re: Some questions regarding my project

    Well I'd never thought I'd run into such errors... Thanks for the thorough explanation!

    For now, seeing as I'm currently in a German course and would wish to use this program before it ends, I just used the String::Compare method, and it works fine, as you said.

    I actually finished the asking part of the program, with all the options in the menu working, but as it would be really tedious to write all the *.list files by hand in notepad, I'm working on a built-in list editor. My goal is to get that working ASAP, and it's almost done; however, I will have a few stylistic questions which would make the program faster to use. Right now I'm using two multiline textboxes in which each row represents a language 1 and 2 meaning, that's pretty simple. The questions however complicate things a bit, and I'm not sure I know of the best tools VC provides to do this, but the idea is to have a a multiline textbox store the questions, and have another textbox store the answers to the question that is currently "selected" in the Q textbox. I found the method "GetLineFromCharIndex" to do just that, so I hope it'll work.

    EDIT: I decided to limit the number of questions possible to say, 5. I really can't think of any reasons why someone might need more, it'll certainly be enough for now, and it's much easier to implement.
    Last edited by Tusike; July 10th, 2012 at 12:32 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