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

Search:

Type: Posts; User: itsmeandnobodyelse

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    9,931

    Re: help with looping structure

    Thanks for the valuable information.
  2. Replies
    11
    Views
    9,931

    Re: help with looping structure

    Are you sure that it is C/C++ standard? I lastly debugged code with overloaded operator+ and I mean to have seen that a+b+c was evaluated as a+(b+c).

    I talked of mathematical accuracy.

    In...
  3. Replies
    11
    Views
    9,931

    Re: help with looping structure

    Even if you are right for a specific compiler, it is better readable and mathematical more accurate to using parantheses. See also the code where I add 50 for rounding purposes and where the...
  4. Replies
    11
    Views
    9,931

    Re: help with looping structure

    You should use parantheses at the right side cause multiplication and division have the same priority and the compiler could perform either operation firstly. Also you should care for rounding cause...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured