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

Search:

Type: Posts; User: lucky6969b

Page 1 of 27 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    236

    Re: std::find_if problem

    Yep, should have used find instead.
    Thanks
    Jack
  2. Replies
    4
    Views
    236

    Re: std::find_if problem

    Hello
    std::set container is best suited for value elements, rather than pointer elements?
    Thanks
    Jack
  3. Replies
    4
    Views
    236

    std::find_if problem

    I've got these std::find_if in my code, do you know which one is faulty?



    Error 6 error C2064: term does not evaluate to a function taking 1 arguments c:\program files (x86)\microsoft visual...
  4. Replies
    2
    Views
    279

    Porting some Java code

    Hi guys,
    I have been poking around with some Java source code that I'd like to port to C++
    Here is something I am trying to do



    namespace AStar_NS { //...
    class Node {
    ...
  5. Replies
    4
    Views
    312

    Re: Why should this code snippet crash?

    Thanks, it's working okay now.
    Jack
  6. Replies
    4
    Views
    312

    Re: Why should this code snippet crash?

    It simply crashes here after the return statement


    std::vector<D3DXVECTOR3> ConvertNavPathToVector3(NavPath* navPath) {
    std::vector<D3DXVECTOR3> vector3;

    for (int i = 0; i < navPath->count;...
  7. Replies
    4
    Views
    312

    Why should this code snippet crash?

    I've got memory leak on the delete line when being commented out
    On the other hand, I've got a crash. Where is the bug?
    The reason I use a float* because some function requires me this type of...
  8. Re: How to draw an unoccupied value from an array

    Hello
    Yes,
    the worker will return the tool to the original slot
    And Generally, the worker will retrieve an item from the floor space, and put it back to where it was and release the resource. And...
  9. Re: How to draw an unoccupied value from an array

    Thanks, I'll search the web.
    Jack
  10. How to draw an unoccupied value from an array

    Let's say there are three slots in my array (3 pieces of hardware to be used)
    If one worker comes in, it takes an instrument, and I tag it as used on random basis
    Next, the next worker comes in, it...
  11. How to initialize an array of DirectX9 Objects?

    Hello,
    I've got an error saying that there is an access violation at 0x0000040
    error no 0xC0000005
    I've searched the net, saying the error may be due to an uninitialzed variable.
    I debugged the...
  12. How to use Visual Studio 2010 to compile dos programs?

    I want to use it to compile 16bit dos programs
    and 32bit protected mode programs
    Thanks
    Jack
  13. What are lambda functions in C++ and what are they good for?

    Don't quite understand. Could anyone please explain a little bit?
    Thanks
    Jack
  14. Re: Getting Free Disk Space of certain directory

    But one thing, is that how come this api would tell that a "directory" has 3Gigs but the total disk space for the drive is 20Gigs up
    What is the true meaning of the free disk space of a "directory"?...
  15. Re: Getting Free Disk Space of certain directory

    Thanks
  16. Re: Getting Free Disk Space of certain directory

    Still not working


    LPDWORD lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters;
    //char currentPath[MAX_PATH];
    //GetCurrentDirectoryA(MAX_PATH, currentPath);...
  17. Getting Free Disk Space of certain directory

    _int64 free_space_64bit;
    PULARGE_INTEGER lpFreeBytesAvailable, lpTotalNumberOfBytes,lpTotalNumberOfFreeBytes;
    //char currentPath[MAX_PATH];
    //GetCurrentDirectoryA(MAX_PATH, currentPath);...
  18. Replies
    1
    Views
    439

    Impact of Interface changed?

    I am not 100% confident that changing the existing interfaces will not be error-prone.
    Should I discard the new changes for ease of use or
    Adapt to new changes but having a higher risk of...
  19. Replies
    3
    Views
    705

    Re: Getting a singleton instance.

    Great... Thanks, I got an example from AIWisdom, it is working pretty well now
    Jack
  20. Replies
    3
    Views
    705

    Getting a singleton instance.

    class BoundingBoxTest : public DemoApplication
    {
    public:

    #ifdef DYNAMIC_CHARACTER_CONTROLLER
    btCharacterControllerInterface* m_character;
    #else
    btKinematicCharacterController* m_character;...
  21. Re: Is it worthwhile to write an ActiveX module dedicated to drawing charts?

    Thanks.... I don't mind if I could reuse some other's work unless I have to pay a big deal.
    Jack
  22. Is it worthwhile to write an ActiveX module dedicated to drawing charts?

    I know the user installation must involve some registry manipulations and
    some other trickery. But the ActiveX way seems to be more modular.
    Is it worthwhile to separate the charting modules from...
  23. Re: How to convert a C# module into an unmanaged C++ dll?

    Thanks guys, I've decided to change library to bullet and give up on this.
    This way seems to be easier.
    Thanks
    Jack
  24. Re: How to convert a C# module into an unmanaged C++ dll?

    Roughly 10000 lines I guess

    https://bepuphysics.codeplex.com/

    I am trying to understand the interfaces now, not sure my intention is possible.
    Thanks
    Jack
  25. How to convert a C# module into an unmanaged C++ dll?

    I am in need to convert some C# code into C++ equivalences.
    But I don't want to spend the efforts to do so.
    Is there an handy way to convert an existing code of C# into C++ (unmanaged code)?
    if...
Results 1 to 25 of 662
Page 1 of 27 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center