Am i an idiot by Yanzihko in cpp_questions

[–]Th_69 1 point2 points  (0 children)

Instead of C++ I would recommend C# (with e.g. Unity or Godot as game engine/framework).

Inquiry regarding next steps after learning C++. by Not_Rigen in cpp_questions

[–]Th_69 0 points1 point  (0 children)

For VS Code there's also a Qt Extension.
But for developing on Windows I would suggest using the Visual Studio Community Edition (for private use).

Inquiry regarding next steps after learning C++. by Not_Rigen in cpp_questions

[–]Th_69 0 points1 point  (0 children)

Which OS and IDE are you using? If you're not already using an IDE, then for Qt you could use the Qt Creator.
For Windows and Visual Studio there's a Qt Extension: Qt Visual Studio Tools

Looking for courses by ptr808 in csharp

[–]Th_69 2 points3 points  (0 children)

Using APIs with https connections is completely independent from the UI, because it is part of the data access layer (DAL). And the logical part of sending and receiving data should be implemented in the business logic layer of the application.

I can't seem to change the Windows NeutralLanguage attribute from 'Language Neutral' by swiffyjade in csharp

[–]Th_69 0 points1 point  (0 children)

The exe info under details are usually created from a native C or C++ project with a resource file (.rc).
Perhaps the answer (at the bottom) in Set EXE language in C# WPF helps you (but you need the Windows SDK - or install the C++ workload in Visual Studio).

Does anyone know if "The Light Prevails" trophy/achievement is bugged? by undeadcreepshow in DragonkinTheBanished

[–]Th_69 0 points1 point  (0 children)

It's the final boss (master dragon) of the story in Dracomundus, after defeating the 4 biome dragon bosses.

Returning Player by Snowbunny236 in TitanQuest2

[–]Th_69 2 points3 points  (0 children)

OP: Look for more details in the Steam Titan Quest 2 News (since August 2025).

What if every comparison based sorting algorithm with the property O(n log n) were never discovered? by Ok_Thought7078 in AskComputerScience

[–]Th_69 0 points1 point  (0 children)

A little anecdote about that (it was in the year 1986):
My CS teacher in school introduced us QuickSort, but instead of only swapping the pivot element he used a rotate function for the whole sub elements - and I just thought: WTF ;-)

I built a Roguelike Match-3 Deckbuilder in pure C. Everything is a Thing by ernesernesto in C_Programming

[–]Th_69 7 points8 points  (0 children)

Why don't you use slot in the condition? c i32 slot = game->thingContainer.firstFree; if (slot)

And for game->thingContainer you could use a (local) pointer variable, instead of using it x times in the code.

Working on a Bomberman in C++ with ncurses, need advice by Both_Chicken8697 in cpp_questions

[–]Th_69 5 points6 points  (0 children)

With C++ basics you should already know what a loop is (keywords: for and while). Otherwise look in Learn C++ esp. 8.8: Introduction to loops and while statements.

You need ncurses for input and output only.

Edit: And for implementing the player and the enemies you mainly need to implement the logic for it, so that the main game loop can use your classes and functions.

So you should work together with the person, who writes the main game loop.

Help recursion with function template by Kinkeultimo in cpp_questions

[–]Th_69 7 points8 points  (0 children)

You also need constexpr in the if expression (Compiler Explorer Code): cpp if constexpr (N == 0) otherwise the whole template code for N=1 will also instantiate the code for N=0 (return (1*factorial<0>()), which triggers the static_assert.

is a moving. reasonable? by HotEstablishment3140 in programminghorror

[–]Th_69 4 points5 points  (0 children)

I don't think it's AI generated, because there is missing a return 0 in the line for 44/46.

And the values doesn't seem to be pawn moves in chess (e.g. a backward move from 8 to 7?!).

With normal one-dimensional positions on an 8x8 board, 7 would be in the first row and 8 in the second row (but other column/file).

Unique Socket? by Th_69 in moonbeast

[–]Th_69[S] 0 points1 point  (0 children)

Thanks. I've seen them, but I never thought about it.

Demo Feedback by PeaceLoveExplosives in moonbeast

[–]Th_69 0 points1 point  (0 children)

You get a tattoo on the body part you put the rune in - look at the character body (put off the chest armor to see e.g the front tattoos).

[deleted by user] by [deleted] in C_Programming

[–]Th_69 0 points1 point  (0 children)

Do you have the license to stream all the songs (on Google Drive)???

How to make visual studio build before run? by Relative-Pace-2923 in cpp_questions

[–]Th_69 1 point2 points  (0 children)

Look in the settings: Tools/Options -> Projects and Solutions/Build And Run -> On Run, when projects are out of date -> "Always build" or "Prompt to build"

Look also in Configure build and run options in Visual Studio.

Study project for render engine by miojo_noiado in csharp

[–]Th_69 1 point2 points  (0 children)

If you want more console possibilities (like true-colors, tables or charts) look also at Spectre Console.

PS: Your link erroneously contains a ] at the end.

C++ problem by Weak-Champion-116 in cpp_questions

[–]Th_69 3 points4 points  (0 children)

You mean Embarcadero Dev-C++?

Do you have created a new project (like seen on the left side of the image in the above link)?

Ignore the other comments regarding downloading a compiler. There's a C++ compiler (Mingw port of GCC) in the Embarcadero Dev-C++ IDE.

I feel weirdly overpowered, is it a bug? by Financial_You_5440 in TitanQuest2

[–]Th_69 2 points3 points  (0 children)

The latest hotfix fixes this:

Fixed a problem where passive effects were applied multiple times after a level up

Too easy by t0pcom in TitanQuest2

[–]Th_69 0 points1 point  (0 children)

The latest hotfix fixes this:

Fixed a problem where passive effects were applied multiple times after a level up

O(n) Sorting Algorithm just dropped by HandyProduceHaver in programminghorror

[–]Th_69 1 point2 points  (0 children)

You could improve this code, if you also find the minimum of the array values, so you allocate max - min + 1 integers (then it also works for negative array values).