New answers tagged

0 votes

error: conflicting types for 'caesar_crypt'

I was missing the variable types for the parameters in the function: string caesar_crypt(string plaintext, int ceasarshift) {
user avatar
  • 103
0 votes

error: conflicting types for 'caesar_crypt'

Without seeing the code in context, I'd guess that the problem is that the compiler is seeing the error line as a re-declaration of the function. It appears that this line: string caesar_crypt(...
user avatar
  • 64.2k

Top 50 recent answers are included