Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Warrior Defend
    @janaSunrise
    :wave:
    SusmitSahu
    @SusmitSahu
    Hi everyone!!!
    Daryl2604
    @Daryl2604
    Hey Guys,
    I am not able to import my helicopter game into unity as the models are not appearing like the helicopter, enemy airplanes, and buildings. Can anyone help me on how to do this?
    TeenThomas8
    @TeenThomas8
    Hello World!
    TeenThomas8
    @TeenThomas8
    Guys could help me, i have a problem in pset3/Tideman, this is my code for the print_winner function and i dont know what is the problem here, im still getting ERROR with the check50 command
    void print_winner(void)
    {
    // TODO
    int source;
    for (int i = 0; i < pair_count; i++)
    {
    source = 0;
    for (int j = 0; j < pair_count; j++)
    {
    if (locked[j][i])
    {
    source++;
    }
    }
    if (source == 0)
    {
    printf("%s\n", candidates[i]);
    }
    }
    }
    image.png
    Raph Jacksun
    @Raphjacksun7
    Hi bro, what was your function supposed to do?
    sarahwalther24
    @sarahwalther24

    Hello All,
    Long-time listener, first-time caller.
    I've been studying this chat string for a few days to try to get help on Caesar. It has helped me immensely. Y'all seem to be pretty laid-back and more forgiving of ignorance than some of the people on the other forums.
    I am ALMOST there. but when I run check50 i get the following errors.

    :) caesar.c exists.
    :) caesar.c compiles.
    :( encrypts "a" as "b" using 1 as key
    expected exit code 0, not 1
    :( encrypts "barfoo" as "yxocll" using 23 as key
    expected "ciphertext: yx...", not "ciphertext: yc..."
    :( encrypts "BARFOO" as "EDUIRR" using 3 as key
    expected "ciphertext: ED...", not "Cyphertext: EC..."
    :( encrypts "BaRFoo" as "FeVJss" using 4 as key
    expected "ciphertext: Fe...", not "Cyphertext: Fc..."
    :( encrypts "barfoo" as "onesbb" using 65 as key
    expected "ciphertext: on...", not "ciphertext: oc..."
    :( encrypts "world, say hello!" as "iadxp, emk tqxxa!" using 12 as key
    expected "ciphertext: ia...", not "ciphertext: ic..."
    :) handles lack of key
    :) handles non-numeric key
    :) handles too many arguments

    my code is as follows, thanks in advance.

    int main(int argc, string argv[])
    {
    if(argc == 2)
    {
    for(int key = 0; key < strlen(argv[1]); key++)
    {
    if(isdigit(argv[1][key]))
    {

            }
            else
            {
                printf("Usage: ./caesar key\n");
                return 1;
            }
        }
    }
    else
    {
        printf("Usage ./caesar key\n");
        return 1;
    }
    
    int keynum = atoi(argv[1]);
    
    string plntxt = get_string("Plaintext: ");
    
    char len = strlen(plntxt);
    
    for(int p = 0; p < len; p++)
    {
        int cypher;
    
        if(islower(plntxt[p]))
        {
            if((cypher = (plntxt[p] + keynum - 97) % 26))
            {
                printf("cyphertext: %c", cypher + 97);
            }
        }
        else if(isupper(plntxt[p]))
        {
            if((cypher = (plntxt[p] + keynum - 65) % 26))
            {
                printf("Cyphertext: %c", cypher + 65);
            }
        }
        else if(!isalpha(plntxt[p]))
        {
            printf("%c", plntxt[p]);
        }
    }
    printf("\n");
    return 1;

    }

    DamienFloody
    @floodycarlow
    Hey all, does anyone know the enrollment schedule for CS 50: Intro to CS?
    Emmaka9
    @Emmaka9
    Hey guys, I have this question that it is said that cs50 is free. Does that mean If I complete all the psets/projects/exams, I will get the cs50 certificate for free? I'm asking this because, on Edx, it asks to pay for the certificate.
    GrantCAD
    @GrantCAD
    No, the certificate costs
    Doesn't really make sense to get one unless you feel it's extra motivation
    Emmaka9
    @Emmaka9
    Then why's is it called free!! Wouldn't any other course on EdX would be called free in that case?
    GrantCAD
    @GrantCAD
    Free to audit
    Muhamed Suhail
    @muhamedsuhail
    @Emmaka9 You will get a free certificate like this - > https://cs50.harvard.edu/x/2020/certificate/. For a verified certificate from edx you need to pay.
    Emmaka9
    @Emmaka9
    What is the difference between verified and non-verified/the one you shared? @muhamedsuhail
    and that certificate is offered for all cs50 courses? like cs50w and etc....?
    karan kv
    @karankv26
    hi
    hi
    AliImam-png
    @AliImam-png
    Can someone tell me about MIT or Harvard scholarships(merit) events and oppurtunities
    itsmak1
    @itsmak1
    Does anyone want to make a team for CS50 puzzle day?
    Yaser Ali Ghaleb AL-qadhi
    @yaser1635
    Hello my friends
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM 0/ Yaser Ali Ghaleb AL-qadhi (Gitter)
    Anubhav
    @AnubhavBangari3
    Hello everybody
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM 0/ Anubhav (Gitter)
    Anupam Srivastava
    @anuanu0-0
    Hi folks, Starting CS50's Introduction to AI Course today. If anyone wants to work together on it, ping me. Good day.😃
    6 replies
    matrixbot . ¦3<RELATIVISM "AI"=cringe
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM have a nice course Anupam Srivastava (Gitter)
    itsmak1
    @itsmak1
    @anuanu0-0 I wanna.
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM how do you do inequality in C
    . ¦3<RELATIVISM "\=-"?
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM what would be the mistake Im doing where
    simbol01
    @simbol01
    Hi everyone
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM 0/ simbol01 (Gitter)
    . ¦3<RELATIVISM Anupam Srivastava (Gitter):
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM in a declaration of a fuction like int main(void), when doyu use ; and when do you sont?
    Michaelmantion
    @Michaelmantion
    q: I submitted Scratch program in Nov '19, I just now tried to continue but it doesn't show my progress. Should I submit my Scratch program again? or Should I just make a new one?
    Carlssy
    @Carlssy
    Hi Everyone. Please I need with Homepage problem set 8 🙏
    Emmaka9
    @Emmaka9
    anyone wanna form a team for the puzzle day?
    YijiaCai
    @YijiaCai
    Hi everyone!
    matrixbot
    @matrixbot
    . ¦3<RELATIVISM o/ YijiaCai (Gitter)
    purplefan
    @purplefan204_gitlab
    hello everyone!
    Warrior Defend
    @janaSunrise
    @dmalan Hello!
    whalay
    @whalay
    How can I submit project 0 to GitHub
    propice
    @propice
    Guys is it possible pay for the certificate later after completing the course?
    Anubhav
    @AnubhavBangari3
    @whalay you can submit project using git.
    pierreyau
    @pierreyau
    hi
    Reza Sharafdini
    @sharafdini
    Hi
    Mohamed Ebrahim
    @mohamedebrahim96
    hi