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

Search:

Type: Posts; User: maninthemiddle

Search: Search took 0.03 seconds.

  1. Re: Returning a 2D Vector from a function through a pointer to a different class

    How do I mark this thread as 'solved'?
  2. Re: Returning a 2D Vector from a function through a pointer to a different class

    ****, I am sorry. I should have done that.

    Forgive me, I didn't mean to waste your time.

    Sometimes I forget that VS has indepth debugging features.
  3. [RESOLVED] Returning a 2D Vector from a function through a pointer to a different class

    I am making a game that spawns animated 'pixel art' cats and other animals.... These are your typical in-game pets, which get spawned next to the player.

    I am using the Meow class to hold sprite...
  4. Re: move data from a 2D vector into a 3D vector, three times. the sizes of the 2D vec

    if you move the following lines above the main for loop, eveything works fine. Hence, the program the logic of the program is sound, except when the columns and rows change every cycle...
  5. Re: move data from a 2D vector into a 3D vector, three times. the sizes of the 2D vec

    Forgive me, I pasted a sniplet of my code from a 2000 line program. I didn't want to cut and paste more than was necessary to understand the problem. So instead of pasting more of what might cause...
  6. move data from a 2D vector into a 3D vector, three times. the sizes of the 2D vector

    I am collecting numerical data into a 2D vector. At the end of every cycle that 2D vector dumps into a 3D vector. The size of the 2D vector varies.

    I am getting a vector overload during the use of...
  7. Re: sorting values in a vector by the index of their numerical values

    updated original text
  8. sorting values in a vector by the index of their numerical values

    [not resolved]

    your mission if you choose to accept it.....

    imagine you have a list of values {x, y, z, a, b, c}.
    you don't know what those values are going to be.
    you need to index those...
  9. Re: use of algorithms in function cause ERROR: no instance of overloaded function

    thank , I go it now!
  10. Re: use of algorithms in function cause ERROR: no instance of overloaded function

    Close!

    I need to be able to manipulate the contents of the 2D array within the function.
    that is the purpose of the function. sry, I should have mentioned that sooner.

    as far I I know, this...
  11. Re: use of algorithms in function cause ERROR: no instance of overloaded function

    I added one more issue to my little problem
    as you can see below I included a 2D array
    and a cout line for it in the function.
    however, I can't figure out howe to dereference. I tried the & and...
  12. Re: use of algorithms in function cause ERROR: no instance of overloaded function

    lol, thank guys, I promise I will move to modern containers.

    Once this project is finished, I will go through and change every array to std::array but that goal includes 20+ arrays, 7 functions...
  13. Re: use of algorithms in function cause ERROR: no instance of overloaded function

    yeah, I klnow...c-arrays cause issues.
    many years ago, I just got comfortable using C-style arrays.
    I know it's a crutch :P

    thank you for your help.
    I really appreciate it!
  14. use of algorithms in function cause ERROR: no instance of overloaded function

    I'm trying to use an algorithm in a function.

    Should be very simple.

    However, regardless of which algroithm I attempt to use, all of them cause the same error when used in a function.

    E0304...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured