1

I've been trying to work on the Caesar problem in CS50 and keep running into the same problem of it not reading the second parentheses of my printf code. When I try to test it without the printf function it tells me my end curly brace is not there. I'm getting frustrated and would really appreciate any help!

 int main(int argc, string argv[])
{
    if (argc !=2)
   {
      printf("Wrong"\n);

       }

}
1

The new line symbol goes inside de quotation marks printf("something\n")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .