Questions tagged [hello.c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 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
522 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 <
-1
votes
1answer
60 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"); }
1
vote
2answers
347 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
0
votes
2answers
159 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
47 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
123 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
239 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 ...
1
vote
1answer
64 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
1answer
146 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
236 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
0
votes
1answer
527 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
57 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
308 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/...