CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ace10414

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    7,347

    Re: Beginner question about functions.

    Awesome! Thank you. :)

    I have never seen scrut before, so I have another question. XD




    Why did you name the arguments "Struct1.x"? (x being the variable.)

    Also did you mean to say...
  2. Replies
    6
    Views
    7,347

    Beginner question about functions.

    I'm currently wondering the following:

    I've wrote a couple functions that call other functions, this forces me to add more arguments to the function doing the calling because the function it calls...
  3. Thread: Modulus Error

    by ace10414
    Replies
    7
    Views
    1,552

    Re: Modulus Error

    Oh, sweet! I'll use that instead since modulus works different than I had anticipated. Thanks!
  4. Thread: Modulus Error

    by ace10414
    Replies
    7
    Views
    1,552

    Re: Modulus Error

    Thanks a lot for all the help. : D

    I'm sure I can get my program to work with all of this advice.
  5. Thread: Modulus Error

    by ace10414
    Replies
    7
    Views
    1,552

    Re: Modulus Error

    Thank you for your clarification. :)

    It seems I was misunderstanding how modulus worked.

    My teacher had told me that modulus would take the first digit to the right of the decimal as the...
  6. Thread: Modulus Error

    by ace10414
    Replies
    7
    Views
    1,552

    Modulus Error

    I'm having trouble with modulus giving me the wrong answer.

    It's taking 734170 and dividing by 7 and is coming up with a remainder of 3, which is wrong.

    Here's the bugged out code:



    ...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured