Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
786 views

incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int'

I keep getting this error when I try to compile my program: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' { if (argc != 2) { printf(&...
tabacool's user avatar
1 vote
1 answer
74 views

Error in Caesar , can't fix . Need help

#include <stdio.h> #include <cs50.h> #include <string.h> #include <ctype.h> #include <stdlib.h> int main(int argc, string argv[]) { if (argc == 2) ...
Mahip's user avatar
  • 11
0 votes
1 answer
385 views

compilation error multi-character character constant in caesar

The code is: string plaintext = GetString(); for (int i = 0, n = strlen(plaintext); i < n; i++) { printf("%c", plaintext[i]); if ((isalpha(plaintext[i])) && (isupper(...
user7489's user avatar