Название | : | CS50 Lab 1 - Populations Walkthrough (Step by Step Walkthrough for Beginners) |
Продолжительность | : | 14.04 |
Дата публикации | : | |
Просмотров | : | 35 rb |
|
It’s not asking me for starting population Comment from : will valsien |
|
My code gets an error on "while(start > end);" it says that start is an undeclared identifier :c Edit: i rewrote all the code from scratch and now it worked all of a sudden bshrug/b Comment from : Lost Marimo |
|
Thanks for this! I have a question about minute 6:27: When creating the condition for the 'end' integer you wrote "while (start > end)" but instead you say that "end is greater than start", which makes more sense to me but the code works for you writing the opposite, so I am really confused, could you clarify that step please? Thanks!! Comment from : M G |
|
Thanks! I almost had it, the year counter is what I was missing This course is a lot harder than I thought! Comment from : Sun |
|
Hey guys, please notice that there is a mistake at 7:07 In this specific scenario you cannot use a dowhile loop as this would lead to a wrong output if starting population equals ending population You need to use a regular while loop Here is the explanation why this is the case: While loops repeat statements as long as the condition returns true If the condition does not return true in the first query, the while loop is not executed at all do while repeats statements until a condition no longer applies, ie becomes false in any case, however, once) Comment from : Tess S |
|
man I love u Comment from : Mohammed Abdullhafeed |
|
thanks so much! very clear and to the point Comment from : K Me |
|
Can I use for loop instead of do while loop? Comment from : Muhammad Ashhab Liyakat kazi |
|
this is great after watching this i was able to do the problem myself, fixing bugs along the way Comment from : Philip Jacobsen |
|
MVP, not all heroes wear capes etc This was a very good explanation Thank you Comment from : Bret Hart |
|
handles same starting and ending sizes
br expected "Years: 0", not "Years: 1
"brim stuck at this erorr i cant figuer whats wrong Comment from : Privet guy |
|
hi, I don't have any idea why I have this error :( handles same starting and ending sizes
br expected "Years: 0", not "Years: 1
"brSomeone can help me? Comment from : JB_Godzilla |
|
Thanks for this video! This was very helpful in explaining how to get through this practice set Comment from : Brian Santos |
|
Life saver deserved a sub and like clear explanations thank god Comment from : Oblivion YT |
|
so i know I might be dumb here, but can anyone explain the math portion to me? I got my code to work, but I am confused how it gets 3 years Comment from : Loaded Leader |
|
What caught me off guard doing it myself is how the prompt word start with "if", because I thought it was easy just use simple statement but it was crazy when it show the hint section Comment from : Brazzers Premium |
|
why everyone insists on rounding the process of growth and decline for animals In reality,if there are fewer than nine animals and they grow by 1/12 each year, their population is guaranteed to increaseRounding off growth and decline for animals is unnecessary Use float for inUse 'float' for calculation and int for the final target and number of years Birth and death of animals are gradual and ongoing process Comment from : Discratoms Note |
|
is using this as assistance against the academic honesty policy?? i’d like to submit my work but i’m worried Comment from : Лилит |
|
I'm so confused when it comes to the terminal it not saying I have a problem but it's saying now such files what am I doing wrong Comment from : Vanessa |
|
I did everystep you did but when im writting the terminal its saying i did something wrong im not sure what im doing Comment from : Vanessa |
|
I keep getting error: expected indentifier or ‘(‘ { I don’t understand Comment from : DEAD CLIPS |
|
Bro! I am getting an "Error" after following your method - as --> after check50br:( Handles same starting and ending sizesbrexpected "Years: 0", not "Years: 1
" Someone help me with this Comment from : Vanisha Srinidhi K |
|
I figured out everything except how to count the years which is the main part I guess Can anyone tell me why did he use loop to count it? Comment from : Rudraksh Rankawat |
|
The amount of over thinking I did You're a life saver Thanks for making it make sense! Comment from : Carrie |
|
Thank you I shouldn't be in your world Thank you for leaving door open Comment from : goldmember80 |
|
Thank you 🙏🏻 Comment from : Doggydog |
|
Hello, I just started CS50 course thru EdX and I am having difficulty with running the population program Can you help me please How can I get you to see my cloud code terminal to see what is wrong? I keep getting a (built-in) Error Comment from : Mark Turnquest |
|
I just start CS50 and am completely new to all this thanks for the informative video Comment from : Chago Mullen |
|
Thank you 😭🙏🏼 Comment from : DoubleAAnime |
|
Thank you!!!! I've just started the CS50x course and I'm completely new to programming and am seriously struggling to the point that I'm losing hope that I'm even intelligent enough for this! But I will keep marching ahead From all the YouTube videos out there I found yours and I'm finally starting to understand a little You broke it down well and explained it much better and slower than the lectures in cs50! Thanks again :) Comment from : Lavender Meteorites |
|
Thank you very much!! Comment from : Diana Zaguralska |
|
Easily explained and easy to understand, thank you mahn Comment from : Meshack Mumo |
|
🥰Thank you!!! Comment from : Paula Grizet |
|
Helpful! Comment from : Guilherme Isaac Thomas |
|
Tks Veryyyy Much Comment from : Public AudioBooks |
|
Tks for sharing knowledge Comment from : Public AudioBooks |
|
Am I the only one actually super overwhelmed with this first lab in the whole course? I feel like the lectures 0 and 1 made a ton of sense and I understood everything he went over, but this very first lab problem feels incredibly difficult compared to what we've learned so far Comment from : jadedjimmy |
|
Very nice video and nice explanation , i have a question , i want an honest answer , is this problem a bit hard how to approach it alone for someone that had none experience in this field? Cause for me was really hard to start alone with the TODO instructions only through your video i understood the actions that need to be taken , but still without your video i wouldnt be able to figure out how to approach and start and keep going Comment from : DBeagles00 |
|
You have to end with a regular while loop If you use a do while for the final loop it will still increment the years value if the start and end are the same since the do will execute before checking the while condition So if you want to end with the same population it will say that it will take a year Comment from : Troy Arledge |
|
Thank you! Comment from : Simon3 |
|
What programming language is this Comment from : Nicholas Chepkut |
|
Very helpful thank you so much man Comment from : Lefa Vilakazi |
|
can we use a for loop ? Comment from : Vader007 |
|
Thx a lot buddy Comment from : El-Sayed El-Senosy |
|
Have you ever try start size is same as ending size? I think it doesn't work for that situation correctly, the year will be 1 if start size is same as end year Comment from : Sharon Wang |
|
I just started CS50, and I've got to say your videos have been incredibly helpful Thank you for all that you do, and thank you for all of the time you spend helping the rest of us! Comment from : Kellie Ely |
|
thanks bor it was perfect Comment from : left game |
|
bro thank you so much, i'm new in this and you make it way easier to understand!!! Comment from : daniel Felipe Rodriguez Ruseria |
|
Esse cara é show! Consegui fazer o algoritmo em Portugol, usando o VisualG, mas não fazia ideia de como prosseguir usando a linguagem C Assistindo todos os vídeos dele e aprendendo cada vez mais! Comment from : Paulo Sena |
|
Now, the unique error that remained was: " :( handles same starting and ending sizesbr expected "Years: 0", not "Years: 1" How can I solve this? Comment from : Danilo Voz de Trovão |
|
Thank you bro!! You explain this so good!! Comment from : Daniel Mainardis |
|
well, thank you for helping me, but in the end a realized i have just puts some lettters in the wrong place, but still a very good teacher, recommend to my friends Comment from : Gabriel de Souza de Oliveira |
|
For people who have never coded before , i feel like this is very complicated for WEEK 0 im so lost Comment from : Ben |
|
so no need to manually truncate? Comment from : soni |
|
Thank you ! Comment from : Julian G |
|
please make more Comment from : Navarone Turner VIII |
|
can somebody help me I cant submit work using that code Comment from : SNK |
|
Thank you! Very clear explanation and easy to understand :) (I don't feel as dumb as I did before lol) I will be watching your other videos as I do the course Thanks for taking the time to do these videos Comment from : lyn m |
|
for some reason when i write the same starting size and ending size the number of years is one not zero Comment from : Youssef Awad |
|
Thank you so much ❤️ Comment from : Xsilverx |
|
I love how he explains his code Comment from : Structor Modeling |
|
When you explained WHY we switch "years" to "year" because the starting year is 0it finally clicked! Massive W!!! Thank you! Subbed! Comment from : GOODIES |
|
thank you for this video but why does my code say this br/ $ make populationbrmake: b*/b No rule to make target 'population' Stopbr:(( thank you so much if anyone can help Comment from : Thiranida Tangjadetanapon |
|
thank you so much bro you helped me a lot Comment from : Toni Ramzy |
|
Thank you very much! I have a problem, when I correct it with check50, all are ok except when the start and end are the same number for example with 100 it should come out 0 but I get 1, what can I do? Comment from : Ari Castro |
|
bro can you make a tutorial how to submit cs50 assignment? Comment from : Macapagal Jerobin |
|
Dude thank you for your explanation, I'm new to this and I was struggling to make the program add a year, also I did not know how to make the (do/while) loop on this last part, but as I said I'm a noob Comment from : Aldrik AB |
|
Dude it's hard not to understand your explanations Keep it up please! Comment from : Easily Coded |
|
Dude, so many things made sense after you explained them Thanks man, I appreciate the time you took to make these Comment from : Tbucky Films |
|
Excellent video! The one error I keep getting isbr ":( handles same starting and ending sizesbr expected "Years: 0", not "Years: 1""brI was wondering if this could be avoided by changing line 32 to some form of "while start is less than or equal to end"? Comment from : DaveyBaby |
|
Wow! I came to this channel looking for help for the two Mario piramids like 10 months ago 😅 now I'm at week 10 (bc I stopped some months in week 8) and I'm glad you're back! Comment from : Ana Verónica Aponte |
|
KEEP MAKING THESE, AMAZING!!!! Comment from : Avishkar Deshmane |
|
Are u planning to cover the other problems? Comment from : Steam |
|
Very good explanationthanks for helping Comment from : Saloni Akar |
CS50 Problem Set 1 - Mario Walkthrough (Step by Step for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
CS50 Problem Set 1 - Cash Solution 2023 Update (Step by Step Walkthrough for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
CS50 Problem Set 1 - Hello Walkthrough (Step by Step for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
CS50 Problem Set 1 - Cash Walkthrough (Step by Step for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
CS50 Cash Solution 2023. Beginners Guide for completing CS50 Week 1 Problem set 1 - Cash. РѕС‚ : Devin Finley Download Full Episodes | The Most Watched videos of all time |
CS50 Mario More Comfortable Problem Set 1 (pset1) Walkthrough (Step by Step) РѕС‚ : Best Code Tutor Download Full Episodes | The Most Watched videos of all time |
CS50 Mario Problem Set 1 (pset1) Walkthrough (Step by Step) РѕС‚ : Best Code Tutor Download Full Episodes | The Most Watched videos of all time |
CS50 Mario Week 1 Solution 2023. Step by Step for completing Problem set 1 - Mario for Beginners. РѕС‚ : Devin Finley Download Full Episodes | The Most Watched videos of all time |
CS50 Practice Problem 1 - Half Solution (Step by Step Guide for Beginners) РѕС‚ : CS50 Made Easy with Rahul Download Full Episodes | The Most Watched videos of all time |
[2023] CS50 - (Week 1) Mario (Less Comfortable) | Walkthrough u0026 Guide for Beginners | By Anvea РѕС‚ : CS50 Guide by Anvea Download Full Episodes | The Most Watched videos of all time |