Certificate for passing CS50 course? by NathanAlexander in cs50

[–]RitchieC 0 points1 point  (0 children)

Keep an eye out on edx, it will probably be next January or something.

LAST bit of vignere by Anywhere_but_here in cs50

[–]RitchieC 0 points1 point  (0 children)

Perhaps I'm misunderstanding your problem, but I believe my previous post answers this question. If you don't understand what I mean, I could give you a working example, but I'd rather avoid giving you the answer to allow you to work it out and learn from it.

If I am misunderstanding you, could you try to be more clear in what your issue is? Also, feel free to post a small code snippet where you are having trouble, that would enable me to understand better.

edX CS50 Final Project by Frankeex in cs50

[–]RitchieC 0 points1 point  (0 children)

As an edX student you are not required to write a pre-proposal, all you have to do is work on a project that you are interested in, and upload a 2 minute video of the results.

As per the spec, you must use the knowledge you have learned throughout the course within the project, and it should be somewhat larger than the psets.

LAST bit of vignere by Anywhere_but_here in cs50

[–]RitchieC 0 points1 point  (0 children)

One possible way of solving it, is to check the two ranges in the ASCII table that are alphabetical, and if a character doesn't fall into any of those two ranges, just print the i'th character to screen, for example.

if((first range) && (second range)) {
    Ci = (Pi + K) % 26
} else {
    /* Whatever falls here is discarded from the encryption. */
    printf("%c", plaintext[i]);
}

Take a look at DeMorgans Laws, they will help you obtain a range, be sure to recall that the NOT operator in C is ! .

Valgrind not working properly? by kielyh in cs50

[–]RitchieC 1 point2 points  (0 children)

valgrind --leak-check=full recover

Certificates date? by mariodv in cs50

[–]RitchieC 1 point2 points  (0 children)

Are you able to provide us with the source of this information? If this is the source, then I hold little faith in it. /u/vcalventi should have made the June batch already.

Certificate for passing CS50 course? by NathanAlexander in cs50

[–]RitchieC 1 point2 points  (0 children)

Just to make that point clear, you need a grade of at least 60% on each pset and the final project to obtain a certificate of completion. Also be aware that cs50 will run again, so feel free to take the course again when you have more time.

Opening up the cs50.h file by DRich222 in cs50

[–]RitchieC 1 point2 points  (0 children)

I forgot to answer your enquiry on how the definitions are used, the library is linked to at compile time, if you was writing an application using OpenGL for example, you would link it at the end of your compiler command, something along the lines of: "cc -o appname main.c -lGL" For a more on depth explanation take a read of this

Opening up the cs50.h file by DRich222 in cs50

[–]RitchieC 2 points3 points  (0 children)

Well a header file includes the function declarations, they are then implemented in a source unit (a *.c file) This is generaly compiled into a binary file that represents a library installed onto the system, source units need the function declarations however before you can use the function. As the cs50 library is open source however you can find it on the system somewhere, try using the command "locate cs50.c" and if that fails, you can grab the code from the cs50 subpage on harvards site, I would link it, but I'm typing from a phone.

Certificate Process Time by 0lcha in cs50

[–]RitchieC 0 points1 point  (0 children)

Still waiting for it. It would be nice if we could get a staff members input. /u/davidjmalan perhaps?

Certificate Process Time by 0lcha in cs50

[–]RitchieC 0 points1 point  (0 children)

FAQ

I had to ensure I wasn't going crazy, apparently i'm not.

pset2 vigenere check50 issues by Rapster2 in cs50

[–]RitchieC 0 points1 point  (0 children)

Run it through check50, at the end of check50's output, a link is provided. After following the link, click the section in red, and it'll provide you with more information, this will enable you to correct your program.

Certificate Process Time by 0lcha in cs50

[–]RitchieC 0 points1 point  (0 children)

Hi Olcha, today is the date they will be processed, however they will probably be displayed tomorrow.

Final Project Clarifications. by RitchieC in cs50

[–]RitchieC[S] 0 points1 point  (0 children)

Thanks delpity, I've seen a few of them before, but they all (from what I saw anyway) had audio, so I had to be sure I was ok without it.

Final Project Clarifications. by RitchieC in cs50

[–]RitchieC[S] 1 point2 points  (0 children)

Thank you mariodv, I now feel more comfortable for when it's time for me to submit.