Skip to main content
edited tags
Link
Air
  • 2.1k
  • 18
  • 29
the title should reflect the problem, not the author's idea of a solution
Link
Air
  • 2.1k
  • 18
  • 29

Where can I view a staff version of hello.c?can't figure out what problem is causing check50 to reject my "hello, world" code

Formatted output for readability.
Source Link
Luke Van In
  • 2.7k
  • 14
  • 26

I obviously need to compare my code to the staff version character-by-character. Can't for the life of me find the problem that results in:

jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/hello hello.c
:) hello.c exists
:) hello.c compiles
:( prints "hello, world\n"
   \ expected output, but not "hello, world!\n"

jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/hello hello.c :) hello.c exists :) hello.c compiles :( prints "hello, world\n" \ expected output, but not "hello, world!\n" https://sandbox.cs50.net/checks/efbaef2d1e05436dbd695be84f792fe4

I obviously need to compare my code to the staff version character-by-character. Can't for the life of me find the problem that results in:

jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/hello hello.c :) hello.c exists :) hello.c compiles :( prints "hello, world\n" \ expected output, but not "hello, world!\n" https://sandbox.cs50.net/checks/efbaef2d1e05436dbd695be84f792fe4

I obviously need to compare my code to the staff version character-by-character. Can't for the life of me find the problem that results in:

jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/hello hello.c
:) hello.c exists
:) hello.c compiles
:( prints "hello, world\n"
   \ expected output, but not "hello, world!\n"

https://sandbox.cs50.net/checks/efbaef2d1e05436dbd695be84f792fe4

Source Link
Joseph Youren
  • 117
  • 1
  • 2
  • 8
Loading