How to download and install cs50 library locally to your desktop.

preview_player
Показать описание
This video guide you on how to download and install the cs50 library to local machine, and how to compile code using the cs50 library.

collect user input through the use of:
get_string(); from cs50 library.

printing the name of the person collected using printf();
0:00 writing code to print hello, world
1:10 compile the program using gcc compiler
2:20 download cs50 library from GitHub
3:40 open the downloaded file
4:20 extract the file
4:50 extracting the files from unzipped folder (src folder)
5:00 copy and paste files needed
5:25 include the cs50.h library in vscode
5:52 using cs50 function get_string in code
7:00 compile without using cs50 code
7:00 notifying the compiler to use cs50 code

@problemsolvingthroughprogr8170
@CProgrammingTutorialManish
@FunctionalProgrammingGroup
@introductiontoprogrammingi5857
@cs50
@CS50MadeEasy
Рекомендации по теме
Комментарии
Автор

thank you very much brother .. i searched all over the web to solve this problem and i found nothing of use .. this video was really helpful and problem solved alhamdulliah

abdunuri
Автор

thank my brother africa i stuck with this problem for 2 hour and you solved my problem thanks you so much

ErlanggaBintangPratama-lzjp
Автор

Thank you for this perfect explanation

dive
Автор

Thank you very much it helped a lot. Appreciate for your kind efforts

darshildobariya
Автор

Yes, bro you helped me as well. I searched all over the web, but their was no perfect solution, thanks a lot...

SK
Автор

Finally a way to install cs50 lib that worked for me!
Thank you very much for uploading this!

removeprotos
Автор

Thankyou so much brother only person with correct method. been stuck since last hour

inquiryinsights
Автор

thank you so much !! i spent days searching for solutions, may Allah bless you

sh.a
Автор

thank you so much! this is the only video that gave me a valid solution

nicolemswti
Автор

thanks so much been at this for days may allah bless you my brother

korylawal
Автор

thank you very much, I have been searching and watch various tutorial all to no avail, but you cracked it. I really appreciate

ezeonyemaechi
Автор

hi thank you i have no problem running and compiling the code but I can't use the debugger (i use Bach terminal in vs code btw). I always receive an error message saying that the file does not exist when i've already compiled it. and it tells me to go to launch.json? And also i'm following the CS50 course and the teacher is using the debug50 command to debug but I couldn't. Please answer if you can, I'll be gratful.

hibaboubia
Автор

thank you so much bro, this is the best solution out there hehe

aosyduyminh
Автор

Thank u so muuch! You are such a incredible person!

studyvibes
Автор

Thanks brotherrrr!!!! you make it so easy!!!!

vbygowj
Автор

Thanks, I couldn't figure this out on my own

denisedigiovanni
Автор

Cool Bro, spent a long time trying to resolve this in VSC, thanks.

UnshackledBanana
Автор

Well done 👍, this is the best fix I av seen on the net.

saliushola
Автор

a great solution to this problem thank you so much man.
But 1querry, when command in terminal ./a.exe after compilation it works but when i run the code after compiling the file it shows that you have got before compiling why is that happening . is ./a.exe and run different thing?

anwesitapatro
Автор

after practice follow I got error problem "collect2.exe: error: ld returned 1 exit status". SOS

Thinh_AI