its working now. i removed the call to the function clear_input_buffer().
thank you:)
Type: Posts; User: kappilrinesh
its working now. i removed the call to the function clear_input_buffer().
thank you:)
you can write the following function and call it before calling the gets function.
clear_input_buffer();
gets(string);
The function clear_input_buffer is as follows:
yeah, my mistake.
but there is a puts() function before the encrypt function and it is not returnin the ptext string on the screen.
This is a program for Playfair Cipher, but after the encrypt function, puts() function is not returning the encrypted text.
i would be glad if someone helped me out.
The code is as follows:
...