P
Piotr Turkowski
Hi,
The code is here: http://free.ud.pl/~piotr/data/vigenere.zip
Its my program for decrypting and encrypting text.
Shot polish course:
szyfrowanie (szyfruj) - encrypting (text i want to code ->
(*(^%&^GHJBBVvkek)
odszyfrowanie (deszyfrowanie) - decrypting ( *^BNHJ*&% - > secret text)
obsluga plikow - using files
If you delete case 4 (obs³ugê plików) from the menu and the bad function
the program will work.
This is the problem. I don't know how to use files. I want to make a
function in which you will enter a path for incoming file and outgoing
file.
There are 4 possibilities:
1) you have entered both paths, the program will encrypt or decrypt text
from file_in to file_out
2) you have enetered path for file_in, the text will be encrypted or
decrypted and showed on display
3) you have entered path for file_out, the text will be taken from
keyboard and writted into file_out
4) no paths, the text will be got form keyboard and showed on display
In this function first I want to check if paths are correct.
If you understood me, please help me with this. I'm tired of this.
BTW:
How to enter a password, and show stars(*) on screen ?
How to make a decision in a menu without confirming it by enter?
The code is here: http://free.ud.pl/~piotr/data/vigenere.zip
Its my program for decrypting and encrypting text.
Shot polish course:
szyfrowanie (szyfruj) - encrypting (text i want to code ->
(*(^%&^GHJBBVvkek)
odszyfrowanie (deszyfrowanie) - decrypting ( *^BNHJ*&% - > secret text)
obsluga plikow - using files
If you delete case 4 (obs³ugê plików) from the menu and the bad function
the program will work.
This is the problem. I don't know how to use files. I want to make a
function in which you will enter a path for incoming file and outgoing
file.
There are 4 possibilities:
1) you have entered both paths, the program will encrypt or decrypt text
from file_in to file_out
2) you have enetered path for file_in, the text will be encrypted or
decrypted and showed on display
3) you have entered path for file_out, the text will be taken from
keyboard and writted into file_out
4) no paths, the text will be got form keyboard and showed on display
In this function first I want to check if paths are correct.
If you understood me, please help me with this. I'm tired of this.
BTW:
How to enter a password, and show stars(*) on screen ?
How to make a decision in a menu without confirming it by enter?