If x=0,y=0 And we did this operation y=++x+x++; The course that i am watching and deepseek qwen ai and chat gbt told me that the answer should be x=2 y=2 But visual studio code and another online compiler keep giving me the answer like this x=2 y=3 which make no sense Can anyone explain
What started as a small example project for my C++ UI library, LiteUI : https://github.com/IAmTheFool/liteui, has grown into its own standalone application, so I decided to give it a separate repository. The goal was to build a Lightroom-inspired photo editor with a native desktop experience, using a shared codebase for Windows and Linux.
I'd appreciate feedback from the C++ community, particularly on the architecture, image-processing pipeline, API design, performance and overall implementation.
It's still an ongoing project, and I'm interested in hearing what you think.
The cover of the Design and Evolution of C++ had a sapling on it. That seems to have been a good choice. C++ has continued to grow since then and is IMO the most important programming language today. There's a lot of complexity to the language already and new features are being proposed. Is the large number of C++ implementations a weakness going forward given the increasing complexity? I tend to think so, but I write this as one who has been working on a global command line. Thanks.
Thinking about starting a coding group on Whatsapp where were like minded people can talk about coding and get help with problems or homework (we won't do your homework for you but we'll help you to a solution), let me know if you're interested....
i got introduced to <cmath> (still onto this )the day before yesterday then got depressed due to some shit life throws at you and randomly went "Welp, I can make a quadratic equations solver with this"
how can i improve this?
(slightly lengthy rant ahead )
also, great thanks to u/mredding , although i didn't understand like 90% what they told me, the remaining 10% did help me understand code a bit more and i wanna say, i don't think i can understand what u call simple at all, but that's due to being new to c++.
other than that, i did try to make my code a bit more to the point and not variable spam ( just remembered to replace "return 0" with "return Exit_Success" ) and now understand how to use if/else. and the reason the "#include <iostream>" are below cuz it's my practice folder i like to keep them near the what i'm doing in case i need to add smt.
One non-standard thing that a lot of people use is #pragma once.
As you may know if you have been around Usenix or Reddit for a while, I've been developing a C++ code generator for 25 years now. The generated code can be used on a number of platforms, but I develop the software primarily on Linux. So, I'm particularly interested in the intersection of non-standard goodness and Linux.
Some will probably mention Boost. So I'm going to also mention that I have serialization support for the base_collection type from the PolyCollection library.
Hey all! I stumbled into this sub quite desperately and frustrated but it looks very interesting 😎 I feel like I have the understanding of a toddler in terms of programming and I've been working in this one for a little bit now in my intro class and I think that I have it close to done I'm just getting these errors thrown from one of my equations. Any and all help is appreciated greatly❤️
since the day i started learning from learncpp .com it give me so burnout feeling but still it has great mastery in deep what should i do like i have previously programming knowledge in c like basic var,flows,function,structure,pointer (basics i guess) .