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

Search:

Type: Posts; User: wolle

Page 1 of 24 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    275

    Re: WSL (Windows Subsystem for Linux)

    Yes but WSL 2 is very new and because of that a quite risky proposition.

    If the major reason for considering WSL is familiarity with the Microsoft development tools there's another strategy...
  2. Replies
    7
    Views
    275

    Re: WSL (Windows Subsystem for Linux)

    I found this info,

    https://www.theverge.com/2020/5/19/21263377/microsoft-windows-10-linux-gui-apps-gpu-acceleration-wsl-features

    so it seems possible to get a Linux GUI working on Windows with...
  3. Replies
    7
    Views
    275

    Re: WSL (Windows Subsystem for Linux)

    I haven't but it's interesting. Is Windows becoming a Linux distribution? According to this info,

    https://docs.microsoft.com/en-us/windows/wsl/compare-versions

    version 2 of WSL has a full Linux...
  4. Replies
    2,361
    Views
    713,556

    Re: The Boring Thread

    I'll keep my reply as boring as possible. :)

    The symbol grounding problem is new to me. I came across it while checking out the issue of consciousness in Artificial Intelligence. It is argued that...
  5. Replies
    2
    Views
    1,364

    Re: Develop IPad C++ app

    Visual Studio offers some support for cross-platform C++ mobile development. Maybe this can be a starting point,

    https://docs.microsoft.com/en-us/cpp/cross-platform/?view=vs-2019

    Ideally you...
  6. Re: Do you use an ORM with C++? What is a good way to use a database with my C++ code

    The acronym ORM is new to me so I'm not quite sure in which direction I'm pointing, if any,

    https://www.codesynthesis.com/products/odb/
  7. Replies
    2,361
    Views
    713,556

    Re: The Boring Thread

    This thread illustrates the so called symbol grounding problem very well. It does not have to define boring because it is self-explanatory boring.
  8. Thread: Rust

    by wolle
    Replies
    9
    Views
    1,764

    Re: Rust

    After having further investigated Rust I've decided it is too immature at this point. It's not as much the language itself as it is the lack of mature third party libraries. I need stable subsystems...
  9. Replies
    15
    Views
    1,404

    Re: debug in release mode

    Tracing means you temporarily modify the source code. Make sure you're permitted to do so.

    Tag all traces you put in with comments so they can be easily located later and removed/commented out...
  10. Replies
    15
    Views
    1,404

    Re: debug in release mode

    I seems you've disregarded my advice (in #6) completely. That's a mistake. Ask a college familiar with the application for the most likely bug location. With a little bit of luck a few narrowing...
  11. Replies
    15
    Views
    1,404

    Re: debug in release mode

    It's perfectly possible to debug without a debugger. Just put traces in the (release mode) code and go with the flow. :)
  12. Thread: Rust

    by wolle
    Replies
    9
    Views
    1,764

    Re: Rust

    Well, that definitely makes it very hard for 'Average Joes' like me to accomplish changes to C++.

    But what you describe is the formal process. The C++ committee can also act informally by inviting...
  13. Thread: Rust

    by wolle
    Replies
    9
    Views
    1,764

    Re: Rust

    I would if I could but as an ordinary Joe programmer I'm not qualified. I have to select from what's offered and hope to make the right choice. Reading books and articles, watching guru presentations...
  14. Thread: Rust

    by wolle
    Replies
    9
    Views
    1,764

    Re: Rust

    Apart from the stint with Java I've also used only C/C++ professionally. I wouldn't say my Java period was a total waste, for example I got to learn OO thoroughly, but the main lesson I learned is...
  15. Thread: Rust

    by wolle
    Replies
    9
    Views
    1,764

    Re: Rust

    Yes, C++ is not the ultimate choice for every situation but it is preferred in many situations. Many large companies including Microsoft have started using Rust where they traditionally would've...
  16. Thread: Rust

    by wolle
    Replies
    9
    Views
    1,764

    Rust

    I was a C programmer who jumped on the Java bandwagon. Unfortunately Java never lived up to its hype for my kind of applications (which is scientific programs for the desktop). So it was a great...
  17. Re: [RESOLVED] how i get point on a 3D line knowing the Z or X or Y?

    This is the parametric version of a 3D line we have used,

    P.x = O.x + t*AB.x
    P.y = O.y + t*AB.y
    P.z = O.z + t*AB.z

    If say AB.x is 0 then it becomes,

    P.x = O.x
    P.y = O.y + t*AB.y
  18. Replies
    13
    Views
    2,970

    Re: how create a 3D collision function?

    I cannot say what is wrong but the first step must be to check out carefully whether the isCollision function works properly. It is based on two principles. The first is a certain detection test to...
  19. Re: [RESOLVED] how i get point on a 3D line knowing the Z or X or Y?

    This is the parametric version of a 3D line we have used,

    P.x = O.x + t*AB.x
    P.y = O.y + t*AB.y
    P.z = O.z + t*AB.z

    Looking at the first equation,

    P.x = O.x + t*AB.x
  20. Re: how i get point on a 3D line knowing the Z or X or Y?

    Yes AB is the vector going from O to D. It's calculated as D - O like,

    AB.x = D.x - O.x
    AB.y = D.y - O.y
    AB.z = D.z - O.z

    If you know the z-coordinate of P that is P.z and want to find out t...
  21. Re: how i get point on a 3D line knowing the Z or X or Y?

    I cannot tell whether your code is correct but if the problem is to find a point on a 3D line given that one coordinate is fixed, then this is how I would go about it.

    Say you have two points in...
  22. Replies
    13
    Views
    2,970

    Re: how create a 3D collision function?

    Okay I used the same member names for P and S that is w, h and d but okay that's a little confusing so I change to x, y and z for P to better relate to your code,


    return ((P1.x <= (P2.x + S2.w))...
  23. Replies
    13
    Views
    2,970

    Re: how create a 3D collision function?

    I think the parentheses are wrong for symmetry reasons. The test for collision should be the same in all 3 dimensions. The return statement has 12 lines so there are 4 lines per dimension. If you...
  24. Replies
    2
    Views
    817

    Re: Erase an stl element within the or loop

    If the "list" is an STL container it comes with an erase() method which can be used to erase elements from the container. How to do it is described in the documentation for each container but as far...
  25. Replies
    20
    Views
    2,731

    Re: How To: Prevent duplicate coding

    I don't understand the meaning of this reply.

    You made an ad hominem attack on a forum member in #10 for having reported a double post. That's quite serious coming from a moderator and especially...
Results 1 to 25 of 594
Page 1 of 24 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)