Here is my code. i am trying to write a text file all characters (=p). But it writes just one character.
Output is here:
Text you want to Encrypt : bahar
fclose(enc_vigenere); needs to be outside the
This is not portable C. You cannot assume that
a through to
z appear in one block. (Ditto
Z.) You also cannot assume that 65 is the value of
For (2) use
int islower(int c) and
int isupper(int c) instead. Those functions are portable.