some help needed.

This is a discussion on some help needed. within the C++ Programming forums, part of the General Programming Boards category; g4j31a5, I had guessed that was what you meant, but you only gave part of the solution that wasn't correct ...

  1. #16
    Registered User
    Join Date
    Jan 2005
    Posts
    7,317
    g4j31a5, I had guessed that was what you meant, but you only gave part of the solution that wasn't correct by itself.

    I think your version is fine if you change the variable name from totalearnings to totalcommisions or something like that to indicate that the value in that array is no longer the total earnings but rather the total commissions. That way, if later you want to do something with the total earnings you won't be confused and get the wrong number.

  2. #17
    Registered User
    Join Date
    Nov 2006
    Posts
    86
    okay i just did what u told me to and everything works perfectly now THANKS ALOT GUYS :P

    this made my day

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free needed or not?
    By quantt in forum Linux Programming
    Replies: 3
    Last Post: 06-25-2009, 09:32 AM
  2. C Programmers needed for Direct Hire positions
    By canefan in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 09-24-2008, 11:55 AM
  3. lock needed in this scenario?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-25-2008, 07:22 AM
  4. C++ help needed
    By Enkindu in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 08-31-2004, 11:24 PM
  5. semi-colon - where is it needed
    By kes103 in forum C++ Programming
    Replies: 8
    Last Post: 09-12-2003, 05:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21