Questions tagged [hello.c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
596 views

hello.c wont compile - Nothing to be done

I saved the file as hello.c, and I think I'm inside /workspace/pset1/hello However, I get the message "Nothing to be done for hello c. Any idea what I'm doing wrong? Thanks
1
vote
1answer
73 views

How to solve this cs50 grading issue?

the following simple code is what I've written for cs50's pset1: #include <stdio.h> int main() { printf("hello, world\n"); } I got nothing for that in the gradebook. I even checked it ...
0
votes
2answers
87 views

Problem Set 1 help, clang hello.c, and ls (list)

When I follow the directions from Problem Set 1 on the website, I get an error code when I type in clang hello.c and when i type in ls the list doesn't show up. Before I made the new file so I could ...
0
votes
1answer
318 views

I can't figure out what problem is causing check50 to reject my “hello, world” code

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/...
0
votes
1answer
84 views

PSET1 clang hello.c

Can anyone tell me why I'm getting this error when trying to compile hello.c in the Terminal Window? $ clang hello.c hello.c:7:1: error: expected identifier or '(' { ^ 1 error generated. $ Thanks!
0
votes
1answer
679 views

PSET1: Can't check hello.c

Doing on https://ide.cs50.io typing check50 cs50/2018/x/hello hello.c in ~/workspace/pset1/hello/ $ And got Uploading.. Unexpected token <
0
votes
1answer
144 views

Having problems when i run hello.c

i am a newbie in programming and i was following up a lecture by prof.Malan and ended of with an error when opening a new file and naming it hello.c( cs50ide offline) the problem is it ends showing ...
0
votes
1answer
165 views

Pset1 Problem with hello.c

I tried to do hello.c and when I used the bottom black panel, after I typed make hello, I got "make: ***No rule to make target 'hello'. Stop. Could it be because I don't have a Dropbox account? And ...
0
votes
1answer
585 views

Permission Denied in pset1

I am stuck in week 1 lectures. Initially after watching the videos I was able to run the codes, 'make hello' and './hello.c', then after an update to the CS50 appliance the codes wouldn't run any ...
0
votes
1answer
60 views

Status 400 message when submitting pset 1 “hello, world” to check50 [duplicate]

I can't submit the first part of pset 1 using check50 2014/x/pset1/hello hello.c. I don't understand this since the program runs with no problem. I keep getting a status 400 and try again later ...
0
votes
1answer
54 views

clang issue keeps saying error

I'm doing the hello project for week one and I can't get pass the clang issue. I keep putting clang and it keeps saying error" no such file or directory. but the hello.c file is literally in the ...
0
votes
1answer
49 views

Says that ./hello is a directory and error code when say clang -0 hello hello.c

I was following the directions from the website and was putting clang -0 hello hello.c I got an error code. I'm not sure if this means anything but when I put ls it says a.out* hello/ and hello.c. ...
0
votes
2answers
189 views

hello.c wont compile

I saved the file as hello.c, and I think I'm inside /workspace/hello.c. However I get the message "no rule to make target 'hello'. Any idea what I'm doing wrong? Thanks
0
votes
0answers
56 views

hello.c Compiling error

I have some sort of a compiling error when I just try to generate "Hello World" with CS50 IDE. #include <stdio.h> int main(void) { printf("hello, world\n"); } This is what I get when I run ...
0
votes
1answer
429 views

hello.c Problem Set 1 problem - make: *** [hello] Error 1

I'm stuck on the hello.c file. My code is: int main(void) { printf("hello, world\n"); } I've checked to make sure that I'm in the right directory. However, when I type make hello, the terminal ...
0
votes
1answer
267 views

The compiler Clang isn't showing

The compiler Clang isn't showing and I'm at a complete lost of why it isn't. Please help me. bash: clang: command not found cs50
-1
votes
1answer
73 views

Im having trouble compiling hello.c.. What am I missing?

Here is the cs50 hello.c file as is. Why wont it compile? #include <cs50.h> #include <stdio.h> int main(void) { printf("hello, world\n"); }