All Questions
Tagged with caesar compilation-error
3 questions
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(&...
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)
...
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(...