Skip to content
  • 0 Votes
    1 Posts
    6 Views
    No one has replied
  • Myopia, or why I can't C#

    The Lounge debugging csharp c++ visual-studio json
    17
    0 Votes
    17 Posts
    1 Views
    E
    I have a general gripe with Visual Studio where you need a separate project per main(). I tend to code each entry point as a separate class in a DLL project with a myMain(). I have one Console app that just calls into the correct class. This also allows you to UnitTest the separate classes.
  • Visual Basic 6 did this, why can't you, C#?

    The Lounge csharp c++ help question
    27
    0 Votes
    27 Posts
    50 Views
    V
    well.. you could also use `return`, `throw` or `goto case 3` instead of `break`. I guess they didn't want to define a default behaviour witch needed to be remembered and thought of by of everyone, when writing a switch case.
  • 0 Votes
    7 Posts
    0 Views
    D
    abmv wrote: 6,49,000 Sq-Foot There'll be some artificially intelligent in there! Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver
  • 0 Votes
    2 Posts
    0 Views
    N
    Kent Sharkey wrote: Not a single new icon. I feel cheated. Do not worry, they will surely have broken something inserting some unneded AI in other side... :laugh: :laugh: M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    3 Posts
    1 Views
    N
    Joe Woodbury wrote: Is there a betting pool as to when Microsoft changes their mind? Microsoft is asking to be the new Google M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • The perfect cat video has finally been created

    The Lounge c++ com oop question
    7
    0 Votes
    7 Posts
    0 Views
    D
    That last one was a zinger! :-D Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver
  • 0 Votes
    30 Posts
    129 Views
    H
    There is a time and a place for it, and it's sometimes useful when doing some heavy Generic Programming. Like, in theory if you had to design your own tuple type (I know std already has one, but ignoring that), the function to access a tuple's value might be an auto because it's difficult to even type out the template instantiation necessary for the return type, much less come up with it. Another place I use it: In my graphics library you can define pixels with an arbitrary memory footprint. Different amounts of bits for different channels, like RGB565 or YUV888 etc. Because of the arbitrary nature of it the integer values for each channel may be a different type. For example, while a channel probably won't be more than a uint8_t can hold (8-bits) it might be (12 bits? uint16_t would be necessary) Because of that, when I go to assign values from arbitrary pixel formats I don't actually *know* what type it is, other than some kind of integer of 64 bits or less (based on static_assert constraints). So I could always promote it to a uint64_t but that creates other problems when you have to cast down again. So auto is what's for dinner. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • mfc, vs2022 compatible?

    C / C++ / MFC c++ question workspace
    10
    0 Votes
    10 Posts
    30 Views
    C
    lol, true. But going into the mfc afx, etc header files where "those people" took macros to an art form (I'm being generous) is tedious. Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
  • 0 Votes
    11 Posts
    33 Views
    C
    You are welcome. "In testa che avete, Signor di Ceprano?" -- Rigoletto
  • 0 Votes
    3 Posts
    0 Views
    D
    Or maybe 'fuckMeIWishICouldFigureOutAGoodNameFormThis' Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver
  • 0 Votes
    3 Posts
    18 Views
    S
    Thanks very much for your message. First, would you be able to copy this message, and post it here? CodeProject.AI Discussions[^] Unfortunately, because that is an article forum, I can't simply move this message for you. Also, what happens if you try re-installing the module? If anything goes wrong, could you please share the module install logs when you re-post this message on the CodeProject.AI Discussion forum? Thanks, Sean Ewington CodeProject
  • USB power control

    C / C++ / MFC c++ question
    4
    0 Votes
    4 Posts
    13 Views
    C
    yeah, you are going to be down into device drivers and what not. I'm sure Microsoft has an API somewhere, but it'll change. Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.
  • ISO FYI parent / child NOT in glossary ( of terms)

    The Lounge c++ asp-net
    18
    0 Votes
    18 Posts
    2 Views
    G
    You have serious issues man. Get some help!
  • 0 Votes
    6 Posts
    20 Views
    L
    Well, I am getting few "try it this way". I believe there are many ways to "skin a cat" , but these well meaning alternative suggestion are distraction from the task at hand. Actually I have to "back-paddle " in my "foreach"' approach. Before I can iterate I have to have a list and it better be of compatible type... That also applies if I use any of the Qt ways to iterate... Cheers
  • Fun watching fun

    The Lounge c++ com oop question
    4
    0 Votes
    4 Posts
    0 Views
    B
    Thanks for the free ticket to a fine concert. I quite enjoyed 14:00. I have not heard that portion prior. If you have not yet been dazzled by Yuja Wang permit me to present The Impossible Virtuosity of Yuja Wang - YouTube[^] It made me laugh out loud at the impossibility of her playing.
  • 0 Votes
    2 Posts
    0 Views
    P
    All your URL are belong to us! Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Why Rust isn't killing C++

    The Insider News c++ com
    6
    0 Votes
    6 Posts
    0 Views
    O
    His entire argument boils down to "there aren't as many Rust developers as C++ developers." His lack of real-world experience (he indicates his youth by saying he was just an intern at Microsoft) shows in this conclusion.
  • C++ has lost its way?

    The Lounge c++ com business performance question
    15
    0 Votes
    15 Posts
    2 Views
    J
    Member 14564709 wrote: C, in all it's variants (and that includes JAVA and RUST) is an abomination. It should never have survived as long as it has. PHP - wasn't intended to be a programming language in the first place. Using the tiobe index and excluding that then removing all of the other languages that did originate with C one gets down to Basic, SQL and Fortran. Member 14564709 wrote: between the horror of Fortran and the "New" languages that were just around the corner. But it doesn't exist. People create a lot of new programming languages every year. And very few are ever generally accepted. So what you are suggesting will not or cannot exist.