Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached
Favorite Forums
Favorite Tags
c++ x 23
Member Avatar for BobRoss

Hello, I'm writing a simple shift cipher which reads from plain.txt, encrypts, and writes to cipher.txt. It works, but only for small plain text lines of a couple of words or so. If the plain text lines are long, then the program does not respond (freezes). Any help would be …

Member Avatar for happygeek
0
1K
Member Avatar for BobRoss

Does anyone know why getch() would fail upon starting a second iteration in a while loop? By fail I mean that I have to press the ENTER key after a keyboard character is pressed to continue. So in effect it is functioning like getchar() where you have to press enter …

Member Avatar for alvinwong
0
176
Member Avatar for BobRoss

Trying to replace '\n' or its decimal equivalent of 10 after it has a decimal value added with its original value of '\n' or 10. This way the newline character won't appear in the ciphertext as some other visible character. [code=c] while (!plainText.eof()){ string plainLine = ""; getline(plainText, plainLine); int …

Member Avatar for BobRoss
0
99
Member Avatar for BobRoss

I'm finishing up my simple shift cipher which takes a .txt file line by line and converts each character of the line to its decimal value and then adds an integer value (shift value) to that decimal value. The decryption procedure works the same way except that instead of adding …

Member Avatar for BobRoss
0
146
Member Avatar for BobRoss

I'm using [B]remove(inputPath.c_str());[/B] to remove a file after a while loop is completed, but the file remains. I'm using Vista and logged in as an administrator and the file is located in my home folder. Any help would be appreciated. Thanks in advance. [code=c] #include <cstdlib> #include <iostream> #include <fstream> …

Member Avatar for BobRoss
0
132
Member Avatar for BobRoss

I'm trying to finish up this little shift cipher I'm writing so I can encrypt the text files on my flash drive in case the drive becomes lost or stolen. It simply reads line by line from a plain text file, encrypts each line and outputs the lines to a …

Member Avatar for BobRoss
0
156
Member Avatar for BobRoss

Sorry, the thread title should read "File paths with spaces" Hello everyone. I am finalizing this little shift cipher program that reads a plain text file line by line, encrypts it, and writes it to a cipher text file. I'm just having difficulty when a user enters file paths with …

Member Avatar for jonsca
0
108