PLEASE ALWAYS USE CODE TAGS (the <> formatting button), to the right of this box, when posting code. Along with the proper indenting it makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/ http://www.cplusplus.com/articles/z13hAqkS/ Hint: You can edit your post, highlight your code and press the <> formatting button. This will not automatically indent your code. That part is up to you. You can use the preview button at the bottom to see how it looks. I found the second link to be the most help. |
|
|
jlb once wrote: |
---|
You really should try to avoid the C function exit(), it doesn't know about C++ classes and can cause data loss if used inappropriately. Since this is C++ start thinking about using exceptions when you need to "abort" the program. |
|
|
|
|
@Andy My question is what is there to be sorted and how. |
Why are you passing an int into your functions, seems to me that a string would probably be better. |
What type of cypher are you trying to use? |
What is a "SET 1"? What is the difference between a SET 1 and a SET 2? |