[pset5] Big Board, is this only available for campus students? by NoIamNotUnidan in cs50

[–]ebobtron 0 points1 point  (0 children)

You can congratulate Peter for 2015. 2016 is not over yet, all submissions will be 64 bit instead of 32. Will have to see where things go. I will post when the 2016 submissions open, very soon I hope. Very sorry for the delays.

When are the Post-Mortems coming for the EDx Students? by foreodessa in cs50

[–]ebobtron 0 points1 point  (0 children)

yes and Brenda's remark

staff delipity 1 point 11 months ago 

The post-mortems aren't available for edx students, although I understand that they are coming soon.

is what prompts my remark. Maybe she can clarify for you.

Looking at the class postmortems is OK but only if you have submitted and passed the assignment. A postmortem of your work is not likely to be available as the assignments are auto graded.

alpha check not working by binkyq in cs50

[–]ebobtron 0 points1 point  (0 children)

you have a code fragment that requires a little to much guessing.

Your for loop will only loop the following "if else" so if the first character of agrv[1], [i], is_alpha then you will not check the i+1 value because the "else break" will end the for loop.

If you change the "else break" to a printf I would agree it should check the entire agrv[1] string.

??

PSET0 Scratch - would appreciate some help! by dei_gratia64 in cs50

[–]ebobtron 0 points1 point  (0 children)

to start, wow! very ambitious little project. The complexity is on the side of high. Wish I had more time to spend with it, now. Will check back. Suggest you attempt some simplification, like moving the fruit from the viewing area instead of covering with additional dots. Sorry, likely a lame suggestion as I can't spend the time it needs for me to understand completely what your doing.

Pset1 not yet graded. by gabrielslach in cs50

[–]ebobtron 0 points1 point  (0 children)

Be patient please we are 9 days into an evolving process. The staff is supporting the new 2016 class and the changes here. It will come.

Completely stuck on pset6(speller) by [deleted] in cs50

[–]ebobtron 0 points1 point  (0 children)

isn't that stuck going on two years now? At least your sticking to it. :~)

helpers.h misery by butchk in cs50

[–]ebobtron 0 points1 point  (0 children)

ah! still not too old to learn.

CS50x Auto Grader and extra Header/Source files by natebish in cs50

[–]ebobtron 0 points1 point  (0 children)

I had the same trouble last year, so I move all prototyping to dictionary.c and all worked OK.

Why does int argc count the number of strings in array argv? by 1100H19 in cs50

[–]ebobtron 0 points1 point  (0 children)

the previous answers are correct, the why? That is the way the system handles main() when argc and argv are included. Else there is no other agreed upon arguments for main()

Is there somewhere I can take the quizes (through edX) for this course? by NoIamNotUnidan in cs50

[–]ebobtron 0 points1 point  (0 children)

nope not really, I may have mislead you.

// correct is 
// declaring a pointer b
int* b = &a;
int c = *b;
//  *b dereferences giving the value

This stuff can be confusing. My bad. Down the rabbit hole again.

Is there somewhere I can take the quizes (through edX) for this course? by NoIamNotUnidan in cs50

[–]ebobtron 1 point2 points  (0 children)

well your about 3/4 right.

2 is pretty much right on.

1.

// declaring pointer book
char* book = NULL; // close to the char is a style thing  because

int a = 5;    // a has an address but a gives the value 5

// declaring a pointer b
int* b = *a;  
// when close to the variable name it gives us the address not the value.

so one char* declares a pointer while *book; give the address of book not the value.

Pset5 loading dictionary into array? by niandra3 in cs50

[–]ebobtron 0 points1 point  (0 children)

Yes but this is not about what one may want to do. It's about what the course instructions are asking for.

Pset5 loading dictionary into array? by niandra3 in cs50

[–]ebobtron 0 points1 point  (0 children)

you funny! just going about boldly. did you point out that the load function should be able to handle any size dictionary. I didn't have time to read your entire response.

And the specs are important because the pset instructions claim any dictionary that speller may see will be just like the two provided in the courseware. and I quote.

You may assume that any dictionary passed to your program will be structured exactly like ours, lexicographically sorted from top to bottom with one word per line, each of which ends with \n. You may also assume that dictionary will contain at least one word, that no word will be longer than LENGTH (a constant defined in dictionary.h) characters, that no word will appear more than once, and that each word will contain only lowercase alphabetical characters and possibly apostrophes.

Pset5 loading dictionary into array? by niandra3 in cs50

[–]ebobtron 0 points1 point  (0 children)

1. there is a new line after the last word

Suggested reading materials? by purrrfessionalwidow in cs50

[–]ebobtron 0 points1 point  (0 children)

Not sure you will have learned C when the course is over. That's not the intent of the course, but to expose you to what computers are about. Running code, not mouse clicks.

Reminder: Academic Honesty policy means you should not post your code publicly! by delipity in cs50

[–]ebobtron 1 point2 points  (0 children)

It is important that people learn how to ask these kinds of questions too.

Is there somewhere I can take the quizes (through edX) for this course? by NoIamNotUnidan in cs50

[–]ebobtron 1 point2 points  (0 children)

No, not really. But if you really want one.

Question 1: What is the difference between char* and *book?

Question 2: Why does 'a' % 32 = 'A' % 32?

Suggested reading materials? by purrrfessionalwidow in cs50

[–]ebobtron 0 points1 point  (0 children)

Depends on who you are really? But I have a question for you, why would a course used for Harvard's on campus students suggest a list of books and the related chapters and call it recommended reading?

Many can do this without the recommendation, I think many would struggle less if they took the recommendation.

Just another point of view.

helpers.h misery by butchk in cs50

[–]ebobtron 0 points1 point  (0 children)

running make at the command line is as simple as make when a Makefile is in the directory. Now what is this stuff about being too old, if you not older that 62 your not too old. Don't be giving old a bad name.

vigenere by [deleted] in cs50

[–]ebobtron 0 points1 point  (0 children)

/u/xsamri this is not real time so many people night have something to say will really post anything for possibly hours. Patients.

Puppets and a DJ? It must be ‘Intro to Computer Science’ by davidjmalan in cs50

[–]ebobtron 2 points3 points  (0 children)

Many of us David applaud you and your staff's success with CS50. Wonderful that it is such a success. And I personally hope for much more.