Thank goodness I am not the only one who felt this program was too complex for literally the FIRST problem set of the course. We went from "hello world" to creating our own algorithm. But, it IS for Harvard students, so...
@Justin Lillywhite its meant for harvard students, of course it is challenging. If you give up that easy you wont be successful in this field, or any other field
This is too frustrating. I know what I have to do, and know how to do it, but I don't know how to write it, therefore I can't do anything. It's like getting a taxi, telling the driver the address, the directions, the distinctive features of the destination... but the driver will just shout 'error' until you tell them the taxi code for the destination
If you are reading this in 2020, don't give up, persevere! What is hard today is easy tomorrow! Think about the problem first, and then put it into code!
As a programmer (self taught) I thought it would be a good idea to audit this course to see what I've missed, foundations are always good. I feel sorry for you all... they want you produce a half pyramid with ## ie height 3: # ## ### You write the program and run the check50 program which fails because the check program is broken and expects a height of 3 to be 4 levels... ie # ## ### #### What's worse is that the problem set page shows you they want 3 actually levels not the 4 the check program wants... Unless I am missing something.
Does not fukin make your life easier, no fucking sir, if anything it makes more questions than answers. This class went from a hello world to mario, it went from easy mode to wtf mode im a matter of days.
Aw, no need to be discouraged! Let's just try to tackle this problem in more manageable chunks! :) Before jumping straight into C, try to solve the problem in a language that you understand already. Each time you watch this video, focus on a different aspect! Many of my hints will only be clear once you're well into solving the problem. Try to: 1) do the problem "manually" yourself in a text editor; 2) write out very specific instructions for a complete stranger to do what you just did in the text editor. [Maybe even have someone who doesn't know the problem follow those instructions to make sure you were as clear as possible!]; 3) convert those instructions to pseudocode, replacing your instructions with some 'code'-like language. ie for loops, do-while, the functions that I mention in the video; 4) translate into C SLOWLY! Write, compile, and run small separate programs: One that just gets an int, one that just validates user input, one that just prints characters, etc... this will minimize the debugging that you do later! 5) put all the pieces together, debug, and watch your program run! 6) look back later after you've completed several more problems... and see how much you've learned, how quickly you can write mario now, and how far you've made it! :)
All of these commenters that don't understand probably haven't watched lecture 2 and reviewed the notes before starting the problem sets. If you watched the lecture and read the notes, every concept used in this problem set has been covered and explained.
I just loved the false sense of confidence I got after doing the "hello world" just to get slapped in the face by reality when this mess came along
Sameeeeeee. Currently still confused.
Same here
Bruh,3 weeks in and I still haven't figured it out yet!
hahahaha exactly!!
Mood X100
To be brutally honest, seeing that other people also struggled with this, low-key makes me feel better. I hope I can crack it after this tutorial.
The "less comfortable" just got not comfortable at all.
i feel stupid after reading your comment.have to go back to med school, coding is not the thing for me i guess:(
lmao
Thank goodness I am not the only one who felt this program was too complex for literally the FIRST problem set of the course. We went from "hello world" to creating our own algorithm. But, it IS for Harvard students, so...
@Justin Lillywhite its meant for harvard students, of course it is challenging. If you give up that easy you wont be successful in this field, or any other field
This is too frustrating. I know what I have to do, and know how to do it, but I don't know how to write it, therefore I can't do anything. It's like getting a taxi, telling the driver the address, the directions, the distinctive features of the destination... but the driver will just shout 'error' until you tell them the taxi code for the destination
Yea the driver is a computer so....yea
Me after programming "hello world": yeah!
Me when doing Mario set:
I'm trash
If you are reading this in 2020, don't give up, persevere! What is hard today is easy tomorrow! Think about the problem first, and then put it into code!
before this excersice i tought i would do well in harvard if i tried to...
Best feeling: Getting here and find out that I'm not alone!
4 months I hope you completed the course
I chose less comfortable because I procrastinated and thought this would be quicker (probably is).. didn't think I would be having so much trouble..
cs50 playin hard to get.
Seriously
hahaha yes
This is driving me nuts!!!!!!
u definetely have to be genius or smth to actually write this mario stuff
This problem seems braindead simple to me now but when I was doing the first time around it was very hard.
Now Tideman is giving me headaches
As a programmer (self taught) I thought it would be a good idea to audit this course to see what I've missed, foundations are always good. I feel sorry for you all... they want you produce a half pyramid with ## ie
height 3:
#
##
###
You write the program and run the check50 program which fails because the check program is broken and expects a height of 3 to be 4 levels... ie
#
##
###
####
What's worse is that the problem set page shows you they want 3 actually levels not the 4 the check program wants... Unless I am missing something.
Tip: watch Lecture 2 first - will make your life much easier
And here I thought it was just me not getting the mario.c "less" problem...
@sivan ferna Did the lecture 2 help you at all on this?
@@svporqueno what i was wondering too, should I watch it?
Is "Lecture 2" the lecture for the second week?
Does not fukin make your life easier, no fucking sir, if anything it makes more questions than answers. This class went from a hello world to mario, it went from easy mode to wtf mode im a matter of days.
Seems I'm too stupid for this problem set. I have no idea how to solve it in C.
Aw, no need to be discouraged! Let's just try to tackle this problem in more manageable chunks! :) Before jumping straight into C, try to solve the problem in a language that you understand already. Each time you watch this video, focus on a different aspect! Many of my hints will only be clear once you're well into solving the problem.
Try to:
1) do the problem "manually" yourself in a text editor;
2) write out very specific instructions for a complete stranger to do what you just did in the text editor. [Maybe even have someone who doesn't know the problem follow those instructions to make sure you were as clear as possible!];
3) convert those instructions to pseudocode, replacing your instructions with some 'code'-like language. ie for loops, do-while, the functions that I mention in the video;
4) translate into C SLOWLY! Write, compile, and run small separate programs: One that just gets an int, one that just validates user input, one that just prints characters, etc... this will minimize the debugging that you do later!
5) put all the pieces together, debug, and watch your program run!
6) look back later after you've completed several more problems... and see how much you've learned, how quickly you can write mario now, and how far you've made it! :)
Zamyla Chan Thank you. I hope I'll solve it in a few weeks)))
Zamyla Chan I'm not even able to get the terminal to save my code changes at this point
wow this was so much clearer explanation than Brian's glad I found it it was one of the factors that helped me to solve the pset1
These comments are making me feel so much better! I thought I was the only one that thought this was too hard too soon! 😂
Hint: watch supersection week 1 from 2015 they explain about nested loops
the fact that i understood this more than the new tutorial is mind blowing
I am confusion
Can we get one for "Thought they were less comfortable but instead got lost like a kid in a busy shopping mall?"
Anyone doing cs50x this year?
zamyla makes this unnecessarily confusing
how to replace '.' with space.
When I'm searching for a hint, and (try) not a solution, I end up here in 2020 :D
Computers are so stupid we have to think in a dumb way to talk to them
Do we have a recursion version for the solution?
I GOT IT, LET'S GO BOYS
Woah
Woah
i absolutely hate CS50 - only on week 1!
Can't do it. Please help
My GetInt isn't working. Please help quick.
This is basic on how to write it
int x = GetInt();
try this
int x = get_int()
Make sure you have linked the cs50 library by-
#include
Then try getting an integer by
int x = get_int("Enter Integer");
This doesn't need help me
this is insanely tough for me, maybe my IQ is just too low :(
me too.
@@michaelrandazzo3959
Nah dude. You can do it.
Loop up how forloops and nested forloops work. It will help.
Here is another explanation. After that I actually managed to solve it:
ruclips.net/video/E3Oz3AjCYoQ/видео.htmlm6s
Thank you Zamyla
Zamyla!!! Nice to see you again!!!
LADIES AND GENTLEMAN!
i have done it (im 15 btw)
so if i can do it so can you!
Zamyla !!! the BEST
All of these commenters that don't understand probably haven't watched lecture 2 and reviewed the notes before starting the problem sets. If you watched the lecture and read the notes, every concept used in this problem set has been covered and explained.
this assignment comes before lecture 2 so how would most people know what to do?
@Kin Look up how nested forloops work, thats like 90% of how to solve this pset
The people that don't understand this likely haven't read ANYTHING in their lives....
@@trefwoordpunk2225 wow you're totally not judgemental.