0

I am returning to CS50 after 1+ year and my CS50 IDE still had my old psets, etc... and I am noticing some problems.

i.e. After watching the Week1 lecture, when I write code using get_string(), I am unable to successfully make the program. However, when I change it to GetString(), I can make the program no problem.

Also, the check CS50 function doesn't seem to be working.

Any ideas how to fix this?

Thanks

2 Answers 2

1

Just found the answer somewhere else:

"The best I can tell is that the ide50 workspace is only based on when you created it and doesn't get updated if CS50 updates any files. So if you're version workspace is really old, it doesn't include get_string() and only GetString(). We deleted the kids workspaces and poof it all worked fine. I did backup their files, so it was easy to get them back."

Deleting the workspace and creating a new one did the trick for me

0

If you've been gone that long, it's likely that your IDE is far out of date. Have you run update50 successfully? Also, the getstring functions have been updated since. The old versions won't compile, but the new ones will - or at least they should if your environment is up to date. Don't remember what the current spelling for the functions are, so I'll leave it for you to do some detective work. ;-)

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

1
  • Just found the answer somewhere else: "The best I can tell is that the ide50 workspace is only based on when you created it and doesn't get updated if CS50 updates any files. So if you're version workspace is really old, it doesn't include get_string() and only GetString(). We deleted the kids workspaces and poof it all worked fine. I did backup their files, so it was easy to get them back." Deleting the workspace and creating a new one did the trick for me
    – Steve Romm
    Commented Sep 8, 2017 at 2:00

You must log in to answer this question.

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