Questions tagged [hello.c]
The hello.c tag has no usage guidance.
22
questions
0
votes
1
answer
49
views
make: *** No rule to make target 'hello'. Stop
I recently started the cs50 2023 course, and from the beginning I faced problems
When I type "hello world" code, I get this error
make: *** No rule to make target 'hello'. Stop
What is the ...
0
votes
1
answer
71
views
Unable to compile hello.c using local vscode IDE
I was trying to compile my first C program after watching the video lecture. I'M using local vscode to compile the hello.c but getting errors. Bellow are the error messages.
After typing the command ...
0
votes
1
answer
23
views
cs50 ide problem
every time I write a code and I wnat ot run the simple programme I can't.
I tried to do everything I know, I made make hello and gcc hello.c, no one worked and give out message that tell me "bash:...
0
votes
0
answers
135
views
Lesson 1 C: get_string error when using make
C:(.text+0x1e): undefined reference to `get_string(__va_list_tag () 1, char const, ...)'
collect2: error: ld returned 1 exit status
make: *** [: hello] Error 1
using windows
IDE.CS50.IO
Copied the ...
0
votes
2
answers
192
views
Hello.c program
I am recieving the follwoing error. I am not able to figure out why. I have tried several ways to fix, but end up with the same error
~/pset1/hello/ $ ls
hello* hello.c
~/pset1/hello/ $ clang hello.c
...
0
votes
1
answer
280
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
1
answer
1k
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
2
answers
1k
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
1
answer
209
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
1
answer
862
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
1
answer
90
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
2
answers
2k
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
2
answers
272
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
0
answers
63
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
1
answer
202
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
1
answer
1k
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
1
answer
85
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 ...
1
vote
1
answer
221
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
1
answer
325
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
1
answer
868
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
1
answer
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
1
answer
324
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/...