Search:

Type: Posts; User: mcavanaugh8

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    7,355

    I'm using the CS50 IDE for the course. My code is...

    I'm using the CS50 IDE for the course. My code is as follows:



    #include <stdio.h>
    #include <string.h>


    int main(void)
    {
  2. Replies
    14
    Views
    7,355

    Do you know why my compiler might tell me to put...

    Do you know why my compiler might tell me to put a semicolon at the end of my for() statement but when I add the semicolon, it asks me to take it away? This is incredibly frustrating lol.
  3. Replies
    14
    Views
    7,355

    I believe I was simply over-thinking the whole...

    I believe I was simply over-thinking the whole thing, assuming for some reason that I needed some kind of function that returned you to the start, rather than just using an if / else or while loop....
  4. Replies
    14
    Views
    7,355

    Yup, that is the correct formatting for the...

    Yup, that is the correct formatting for the pyramid.

    And ohh, that makes sense now--thanks! I think I've also figured out that the number of spaces is equal to height - rows, so I think some...
  5. Replies
    14
    Views
    7,355

    Thanks for the reply! This is actually something...

    Thanks for the reply! This is actually something I've had trouble figuring out. The cs50 class provides its own library with premade functions that are "training wheels," of sorts. I've used those...
  6. Replies
    14
    Views
    7,355

    Thanks for the reply, Elkvis! Thanks for...

    Thanks for the reply, Elkvis!

    Thanks for catching the mistake with the range of my condition--and I'm not sure why I put ||, I actually meant &&.

    The forum messed with the formatting--in the...
  7. Replies
    14
    Views
    7,355

    Harvard CS50 Online Help -- Mario Pyramid

    Hey all!

    So I'm taking the Harvard CS50 course online in my free time to help me learn some coding / computer logic. I've worked through some of the problems in Problem Set 1, but am stuck on the...
  8. Replies
    5
    Views
    1,229

    Thanks! So I fixed the first part, with your...

    Thanks! So I fixed the first part, with your help. However, I'm still having issues with the input verification part. It's not so much an issue with getting separate feedback if the user puts in...
  9. Replies
    5
    Views
    1,229

    Ah, thanks! For some reason, I was under the...

    Ah, thanks! For some reason, I was under the impression that the number inside of the [] brackets was the length of the array--maybe that is just for characters? If not, I must have misunderstood...
  10. Replies
    5
    Views
    1,229

    Multiplication question

    Hey all! Still very new to C; trying to learn during my free time after work, when I have it, whether on edX, codeacademy, or through some texts. Anyway, I have the following code:



    #include...
  11. That's quite the document haha. Thanks so...

    That's quite the document haha.

    Thanks so much for your help!
  12. Ah, the latter idea makes a lot of sense. Thanks!...

    Ah, the latter idea makes a lot of sense. Thanks!

    This might be a silly question, but what is the best way to get to know the C libraries and which functions exist within them? For example, I read...
  13. New to C (and programming)--need a bit of help

    Hey everyone,

    First time posting, glad to be a part of the forums! I have a keen interest in computer science, and programming in general, and this forum seems like a tremendous resource to help...
Results 1 to 13 of 13