Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by aphrodita

  1. aphrodita

    STL manual needed

    http://www.google.com Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  2. aphrodita

    Problem of sum in an array

    PieterWinter Your method has a complexity of n^2 as well. Rather going from the beginning of the sequence like one would do in 2 nested loops, you go from behind, which is absolutely the same. Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  3. aphrodita

    Two-D char array and resizing

    Hm, can't think of anything but linked list, like you mentioned then. Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  4. aphrodita

    Two-D char array and resizing

    Maybe vectors in the STL? Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  5. aphrodita

    Combinations

    Would recursive function be enough for you to solve it? Me thinks people come here to ask to solve their hw for them :] Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  6. aphrodita

    Program Sources

    Which usually does not help much, since its all machine code anyway :p Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  7. aphrodita

    Handling scroll bar control messages

    haha, I was about to start explaining how to do it in MFC, but then I saw your request. I am not very familiar with WinAPI, but I am sort of getting ready to start learning it and here is a link where you could start too. http://www.relisoft.com/Win32/controls.html sorry if it did not help...
  8. aphrodita

    Crerat Button's Parameters ??

    pParentWnd should be equal to "this" if you are creating the button in the window constructor. The other thing is that passing "1" as the ID of the button may not be a good idea, because all values from 0-99 are reserved for the system. Best Regards...
  9. aphrodita

    Problem of sum in an array

    to vlakas1981: Consider this sequence: 1,3,5,8,15,20,21,27 and number S = 26, which is the sum of 5 and 21 that are in the opposite halves of the array if you divide it your way. Jeka it will be worth to check if the sequence is in superincreasing order. That will solve your problem very...
  10. aphrodita

    Search and Sort in an array

    You are right, thanks for explaining. Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  11. aphrodita

    Search and Sort in an array

    The problem is sorting the 2-dim array, which your treatment does not show. Converting it to 1-dim, sorting, converting back is a solution that does not require much manipulation. Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  12. aphrodita

    ASCII TO HEX TO ASCII

    lol Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  13. aphrodita

    Search and Sort in an array

    Convert this double array into single one, so you have it like this: 1 2 8 -1 -2 3 -1 1 4 -2 -1 2 then sort it the way one would sort one dimensional array, picking 2 last elements if its going to be descending. Best Regards, aphrodita@mail.krovatka.ru {uiuc rules}...
  14. aphrodita

    libraries for very big numbers needed

    http://indigo.ie/~mscott/ that's one of the libraries people use especially with big numbers. There is a help file included. Best Regards, aphrodita@mail.krovatka.ru {uiuc rules} http://www.hellforge.org
  15. aphrodita

    swaping pointer values

    I commented out the code that uses dereferenced pointers, the one I left is what I think you need. Both work nonetheless. ===<code> #include <iostream.h> void swapP(int* pa, int* pb); int main() { int a = 5; int b = 3; int* pa = &a; int* pb = &b; cout << (*pa) << &quot; &quot; <<...

Part and Inventory Search

Back
Top