Search:

Type: Posts; User: mfknitz

Search: Search took 0.03 seconds.

  1. Thread: Stuck again!

    by mfknitz
    Replies
    17
    Views
    1,970

    I'm pretty new at this myself, but I think you...

    I'm pretty new at this myself, but I think you need to take the 'void' out of your function call:

    FROM


    void menu();


    TO
  2. Replies
    13
    Views
    1,750

    Thanks everyone for your great replies. The...

    Thanks everyone for your great replies. The GetTickCount() worked but still wasn't accurate enough for really small lists. The QueryPerformanceCounter works great though.

    I've allocated more...
  3. Replies
    13
    Views
    1,750

    Elixia-- As far as I can tell it's just an empty...

    Elixia--
    As far as I can tell it's just an empty container with zero length and memory is allocated every time push_back() is called (not very efficient as I see now).

    Zach L.--
    That makes a lot...
  4. Replies
    13
    Views
    1,750

    What I've done so far is created a zero length...

    What I've done so far is created a zero length vector and called push_back() as I read from the file. Is it better to create a vector of say 2000 (my estimate) up front, even though there could be...
  5. Replies
    13
    Views
    1,750

    Thanks, I'll give those a shot. Appreciate the...

    Thanks, I'll give those a shot. Appreciate the info on vectors.
  6. Replies
    13
    Views
    1,750

    timing accuracy?

    This is my first post and any help would be appreciated. I'm writing a program that reads a file of integers of unknown length, then allows the user to choose 1 of 5 kinds of sorts. At the end....
Results 1 to 6 of 6