So I just started this CS50 class, I'm on week one on the HELLO-1 walk through. I'm having a little trouble with the file cs50.h I keep getting this error when I try to compile it. Here is the code I have now:

enter image description here

And here is the error I'm getting.

enter image description here

Could anyone please help me out?

  • Command prompt is not in the appliance...
    – i_am_david
    Commented Jul 20, 2015 at 16:22

2 Answers 2


Disregard this, found the answer on a different site.

  • I guess your problem was the fact that you didn't use the appliance, which is where the cs50 library resides.
    – ChrisG
    Commented Jul 20, 2015 at 8:29

just remove cs50 librairie. if he don't work create new visual c++ project, don't delete a first librairie and save it in nameOfYourProject.c

good luck but can suggest you to use cs50 appliance to learn this course.

  • This answer is unclear. Please edit to improve the spelling and grammar. A list of step-by-step instructions with examples and/or screenshots may be easier to write and understand. Commented Nov 15, 2015 at 12:19

You must log in to answer this question.

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