Thank You Man! I've been wasting 2 days on trying to follow 1st C lecture of CS50 Harvard course, but i couldn't even run C on my mac. 10 minutes thanks to you and it works
does of you who is getting an error, it's because you assume your file is saved before running. save your file and then press run. you can also change the settings to "Save All Files Before Run" in Code-runner setting.
It would be nice to add a video on installing gcc on the Mac and configure VSCode to use the GCC compiler. Yes, I know, CLANG is good, but there are good reasons to use GCC otherwise.
i got the following error while running the program in my macos(m2) Undefined symbols for architecture arm64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
help me sir, I have problem when running the code, it says (Error exists after running preLaunchTask 'C/C++: clang++ build active file'.) and if I continue it says error like this (launch: program '/Users/voxyst/projects/helloworld/helloworld' does not exist) what should I do? thank you
how to solve this Undefined symbols for architecture x86_64: "_main", referenced from: ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) [Done] exited with code=1 in 0.286 seconds
Infuriating me always sends this error : Undefined symbols for architecture arm64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Running] cd "/Users/user1/Documents/c programs/" && gcc hello world.c -o hello world && "/Users/user1/Documents/c programs/"hello world clang: error: no such file or directory: 'hello' clang: error: no such file or directory: 'world.c' clang: error: no such file or directory: 'world' clang: error: no input files [Done] exited with code=1 in 0.054 seconds this is being shown up on runningg the code
Thank You Man! I've been wasting 2 days on trying to follow 1st C lecture of CS50 Harvard course, but i couldn't even run C on my mac. 10 minutes thanks to you and it works
thank you, for the simple and excellent video, not like all others that take 20 minutes to do simple stuff
Thanks boss. Just started learning C and glad to get this out of the way. Very clear and helpful.
Thank you so much! Your tutorial is straightforward and works like a charm.
does of you who is getting an error, it's because you assume your file is saved before running. save your file and then press run.
you can also change the settings to "Save All Files Before Run" in Code-runner setting.
Thank you so much, I thought I did something wrong for the 100th time but now it works thanks so much!
It would be nice to add a video on installing gcc on the Mac and configure VSCode to use the GCC compiler. Yes, I know, CLANG is good, but there are good reasons to use GCC otherwise.
Very easy to follow, and it worked. Thanks!
Gracias. Información valiosa y explicación de calidad. Me ha servido ya que codeblocks no puedo ejecutarlo en mi mac m2.
i got the following error while running the program in my macos(m2)
Undefined symbols for architecture arm64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I got the same error, did you solve it?
@@fatimazaid1593 did you solve it ??😭😭😂😂
Hellllllp me please
actually save the file by going to file>save.
@@ThasinAkhand thanks man
even i do these things, i cant see my codes output on output place, i see in in debug console , how can i solve this issue?
help me sir, I have problem when running the code, it says (Error exists after running preLaunchTask 'C/C++: clang++ build active file'.) and if I continue it says error like this (launch: program '/Users/voxyst/projects/helloworld/helloworld' does not exist) what should I do? thank you
save the file, you can also change the settings to "Save All Files Before Run" in Code-runner setting.
Did this exactly and got error "clang: error: linker command failed with exit code 1 (use -v to see invocation)"
sameee did you figure it out?
how to solve this
Undefined symbols for architecture x86_64:
"_main", referenced from:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Done] exited with code=1 in 0.286 seconds
Thanks MAN 👨 so much
thank for your help
You're welcome!
What a beautiful intro hahaha thumbs up :D
Thank you!
there`s no option to run code, only run c/c++ and debug c/c++, both of which don`t work
how do I run it in the terminal instead of output?
Infuriating me always sends this error : Undefined symbols for architecture arm64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
same here
Same
same
any luck?
@@khalil6022 yeah I used Xcode
Thanks bro!
No problem!
thanks mate
IM SAVVEDDD TYSMMM
could you please do a C# video it would be greatly appreciated
thank you
Awesome!! Thanks for the help ;)
Please anyone help me how i can build the code before the run 😭😭😭
I have a problem in this point and i can’t understand it 😭😭😭😭
Thankuuuuuuu
im having problem on my terminal "zsh: permission denied: /Users/" please help
if u are still having it go to the terminal and type cd /users/xyz/xyz/whateverdirectoryyourein and then type chmod +x filename.c
i am having the same problem how to solve
@@waterbucket3635 didnt solve the problem can you tell me in brief
It wont show me anything in the output
sorry i don't know how to input data in this configuration
Thanks! If you could do a tutorial just as excellent this one but for Cuda (Nvidia) on VSC itwould be amazing. Cuda can be a complete mess…
bro i hate it when u stop to get breathe but u cant breathe without making your mouth smacking
Running] cd "/Users/user1/Documents/c programs/" && gcc hello world.c -o hello world && "/Users/user1/Documents/c programs/"hello world
clang: error: no such file or directory: 'hello'
clang: error: no such file or directory: 'world.c'
clang: error: no such file or directory: 'world'
clang: error: no input files
[Done] exited with code=1 in 0.054 seconds
this is being shown up on runningg the code