Search:

Type: Posts; User: demuro1

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    2,385

    I've heard of pointers but haven't learned about...

    I've heard of pointers but haven't learned about them yet. If I understand your code though the main difference seems to be the asterisk in front of x and y when you "declare" (is that even what...
  2. Replies
    18
    Views
    2,385

    ok so I have another question now on returning...

    ok so I have another question now on returning numbers.

    I have gotten this little program to run as I'd like it to but now I'm trying to do more with the code. basically I'm trying to make...
  3. Elysia-I know this may be beneath you explaining...

    Elysia-I know this may be beneath you explaining but, while I think I understand the idea of local module and global how am I supposed to make my program work if my variable don't work throughout...
  4. because I don't know any better, this is really...

    because I don't know any better, this is really like my first attempt at a program all on my own.

    The biggest problem I am having is variables act differently depending on how you save them with...
  5. do I need to cast x and y as float type to get...

    do I need to cast x and y as float type to get the decimal place?
  6. trying to do simple math with float and int type

    I'm trying to learn by doing. I have written some code below and it's not outputting the way I expected it to. Once I get this piece working I'd like to add code to round the numbers so that there...
  7. Replies
    9
    Views
    2,720

    awesome. I really appreciate the help. I'm at...

    awesome. I really appreciate the help. I'm at the stage where I can kind of make basic math functions just to get my feet wet but run into problems in that I sometimes try to do things that the...
  8. Replies
    9
    Views
    2,720

    I hope this isn't too off topic but I didn't...

    I hope this isn't too off topic but I didn't really want to start a new topic when there were so many that are somewhat similar.

    I understand that in the function you need to define a return type,...
  9. Replies
    18
    Views
    2,385

    yeah but I'm going to use that z variable later...

    yeah but I'm going to use that z variable later when I expand on the code and start using logical operators. to try and do cooler stuff

    I know this is a little off topic but I read your void...
  10. Replies
    11
    Views
    2,277

    so can you always pull the return data out of a...

    so can you always pull the return data out of a function later then. can the return value be changed like a variable or will you need functions with return values set in stone and call the functions...
  11. Replies
    18
    Views
    2,385

    I'll do that with the code from now on. I...

    I'll do that with the code from now on. I haven't been on a board of any kind in ages so my board etiquette probably could use some work as well.

    implicit main, if I read your link properly...
  12. Replies
    11
    Views
    2,277

    so because I have no idea about this and I'm...

    so because I have no idea about this and I'm really new I have to ask for clarity on this.

    Are saying that return causes a function to end. Am I u derstanding that properly?

    And what does the...
  13. Replies
    18
    Views
    2,385

    new to "C" return question

    ok first thanks for helping.

    I'm new to programming in general and I decided I'd start with C. I found a pretty sweet tutorial and I'm plugging along but I have a question.

    I see in the...
Results 1 to 13 of 13