Advertisement

04.07.2008 at 04:30PM PDT, ID: 23303169
[x]
Attachment Details

Something wrong with my simple encrypting/decrypting program.

Asked by mikeregas in C Programming Language, Miscellaneous Programming

Tags: Microsoft, Microsoft Visual C++ Express 2005, C

I attatched my simple encryption/decryption program which I have started by just adding 1 to the ascii values when encrypting and subtracting 1 when decrypting. When I choose only one option or the other the program works fine, however when choosing to encrypt base.txt and output to en.txt AND THEN selecting to decrypt en.txt and output to de.txt IN THE SAME RUN, my de.txt is not equal to base.txt the way it should be. Can you please tell me what is wrong here?Start Free Trial
Attachments:
 
my program im working on
 
[+][-]04.07.2008 at 04:46PM PDT, ID: 21301476

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 04:50PM PDT, ID: 21301494

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 04:55PM PDT, ID: 21301530

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 04:59PM PDT, ID: 21301547

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 05:01PM PDT, ID: 21301561

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 05:02PM PDT, ID: 21301566

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 05:04PM PDT, ID: 21301573

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 05:16PM PDT, ID: 21301619

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.07.2008 at 05:22PM PDT, ID: 21301641

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C Programming Language, Miscellaneous Programming
Tags: Microsoft, Microsoft Visual C++ Express 2005, C
Sign Up Now!
Solution Provided By: ozo
Participating Experts: 1
Solution Grade: A
 
 
[+][-]04.07.2008 at 05:38PM PDT, ID: 21301708

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628