#CS50 Harvard course

10 messages · Page 1 of 1 (latest)

crystal grail
#

I am currently on the algorithm part but when I compile my code its correct but I keep getting a percet sign % a the end of the output in the terminal.

torpid thunder
#

Not really sure what that's about.

#

However, I'm sure you'll also want to use if(strcmp(names[i], "David") == 0)

crystal grail
#

Thank you for taking the time i forgot the if statement beginner mistake

#

I found the solution it’s because I’m using zsh and it adds a percent sign at a new ligne

snow pewter
#

My zsh doesn't do that?

crystal grail
#

Are you on mac

snow pewter
#

I am not

static imp
#

There's a missing newline somewhere

unreal jetty
#

that space after newline makes it formated wirdly, but no idea where that % is from