Search:

Type: Posts; User: StevenGarcia

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    5,963

    Thanks for the help everyone. I finally got a...

    Thanks for the help everyone. I finally got a value I can work with.


    void matrix::time_for_ops()
    {
    int dummy = 0;

    QueryPerformanceCounter(&start_tick);

    for (int i = 0; i < 1000; i++)
  2. Replies
    9
    Views
    5,963

    So, I've found some examples of how to use...

    So, I've found some examples of how to use QueryPerformanceCounter(), but I've still getting a time of 0 seconds for my loop to 1000. I tried increasing the value to 100,000 but I still get 0 for my...
  3. Replies
    9
    Views
    5,963

    Hey, thanks. That will work great.

    Hey, thanks. That will work great.
  4. Replies
    9
    Views
    5,963

    Timing basic operations in C++

    I am attempting to measure the time it takes for a for loop to iterate 1000 times and the time it takes for a multiplication operation.

    I am having some trouble with measuring the ops with enough...
  5. Replies
    4
    Views
    3,165

    I appreciate you taking the time to look at it...

    I appreciate you taking the time to look at it guys. You've given me some areas I can improve on. Thanks.
  6. Replies
    4
    Views
    3,165

    I would love some input on my BST tree.

    Hello. I have spent some time working on my BST tree and have finally gotten it to work. I was wondering if some people could take a look at my code and perhaps offer some criticism.
    I would...
  7. Replies
    5
    Views
    980

    Doh! Unfortunately for me windows crashed...

    Doh! Unfortunately for me windows crashed shortly after my last post so I get to start from scratch on a clean install. Thanks for the feedback.
  8. Replies
    5
    Views
    980

    It's ignored? I thought I was passing the...

    It's ignored? I thought I was passing the pointer to deletenode()? Am I way off base in thinking this?

    Thanks for the feedback guys. I'm trying to use the debugger now. I think I see what's...
  9. Replies
    5
    Views
    980

    BST Removal causes program to exit

    Hello. I am having some trouble with removing a node from my bst tree. The program simply exits if I try to remove more than one node from the tree, or when I try to remove a node and then display...
  10. Replies
    4
    Views
    1,392

    Thank you for the help. That fixed the problem...

    Thank you for the help. That fixed the problem for me. Much appreciated. = )
  11. Replies
    4
    Views
    1,392

    Ah. Thanks for the catch. I made the necesary...

    Ah. Thanks for the catch. I made the necesary changes (updated posted code), but I still revceive the same error. I probably should begin to use C++ strings. I am relearning some programming so...
  12. Replies
    4
    Views
    1,392

    array of pointers problem

    I am trying to display the data from my list using an array that i pass to my class function display(). I can't seem to find any examples for what I am doing in the tutorials. When I attempt to...
  13. Replies
    18
    Views
    2,720

    Thank you so much! I was not handling all the...

    Thank you so much! I was not handling all the cases, also I totally overlooked this bit of code!

    Thank you to everyone that helped, I am so happy that my stupid sorted list works. I can't stop...
  14. Replies
    18
    Views
    2,720

    Thanks for the tips. I became really frustrated...

    Thanks for the tips. I became really frustrated with everything last night and a friend reccomended that I make a separate class function to find the correct order in the list and then pass that to...
  15. Replies
    18
    Views
    2,720

    Thanks for the advice guys. I will definately...

    Thanks for the advice guys. I will definately check that out after I get a little more comfortable with C++.
  16. Replies
    18
    Views
    2,720

    I'm not sure how that works. In my spare time I...

    I'm not sure how that works. In my spare time I am relearning the limited amount of programming knowledge I had at one time. It wasn't much. Thank you for the suggestion.
  17. Replies
    18
    Views
    2,720

    I see the problem now. Thanks for the input. = )

    I see the problem now. Thanks for the input. = )
  18. Replies
    18
    Views
    2,720

    Thanks for the input. I've changed "if(prev ==...

    Thanks for the input. I've changed "if(prev == NULL)" to "if(!prev && !curr)" for checking if the list is empty. I am now getting the same error when I add more than one name. I think I've been...
  19. Replies
    18
    Views
    2,720

    When I try to display the list after adding names...

    When I try to display the list after adding names a pop-up tells me that a unhandled win32 exception occured.

    Head is initialized to NULL in the constructor. Is this what you ask?
  20. Replies
    18
    Views
    2,720

    Sorting while inserting

    I am trying to insert names alphabetically into a linked list. It is compiling but I am getting runtime errors when I test it. Can anyone see where I'm going wrong?



    int list::add(char...
  21. Replies
    3
    Views
    1,162

    Doh! Thanks guys. :)

    Doh! Thanks guys. :)
  22. Replies
    3
    Views
    1,162

    program will not stay in menu loop

    Hello. I can't seem to figure out why my program is exiting when I try to insert into my linked list.
    I'm sure it's something i keep overlooking, but I need a second pair of eyes to help me out. ...
Results 1 to 22 of 22