Anonymous » 03 мар 2024, 15:21
Последнее сообщение Anonymous «
Anonymous »
I just started learning Windows Programming. I had a question that, what is the difference between using C vs C++ to make programs. What are the functionalities I can get in one and not the other, and what is a good resource to learn about the...
Anonymous » 03 мар 2024, 14:58
Последнее сообщение Anonymous «
Anonymous »
The code below is the module that is supposed to check if another game should be played. However, even when typing yes or no, it still detects newGame as false, thus causing the while loop to iterate indefinitely regardless of input. What is the...
Anonymous » 03 мар 2024, 14:50
Последнее сообщение Anonymous «
Anonymous »
I've broken my arm and am developing a one-handed keyboard application for Windows that mirrors the keyboard layout when the space bar is held down, allowing for one-handed typing. The mirroring function is operational using a timer, but this is not...
Anonymous » 03 мар 2024, 14:49
Последнее сообщение Anonymous «
Anonymous »
I am working with a C++ dynamic link library from xatlas that exports a function with the following signature: __declspec(dllexport) void xatlasSetPrint(xatlasPrintFunc print, bool verbose);. The xatlasPrintFunc is defined as typedef int...
Anonymous » 03 мар 2024, 14:46
Последнее сообщение Anonymous «
Anonymous »
I'm a C++ beginner and was trying to write a program that wrote variable amount of values to a file, before summing them and displaying the total. However, instead of summing the values, my program acts like they are a string and appends them...
Anonymous » 03 мар 2024, 14:22
Последнее сообщение Anonymous «
Anonymous »
I can send and receive data on different threads using the TCP protocol as demonstrated in the following code, how can I do the same using the UDP protocol?
#include #include #include using namespace std; // Function that receive data from client...
Anonymous » 03 мар 2024, 14:19
Последнее сообщение Anonymous «
Anonymous »
I try to run a code which has a random number generation algorythm as a part of it. However, it doesn't work and compiler warns: expected a ; where :: for input and output operands in inline assembler shall be. For similar function dealing not with...
Anonymous » 03 мар 2024, 14:17
Последнее сообщение Anonymous «
Anonymous »
I'm working on a personal project, involving an ESP32-S2, OLED (SH1106) and generic button encoder. Right now I'm at a stage where I want to put together a simple menu system that's just 3 levels deep.
Гость » 03 мар 2024, 11:51
Последнее сообщение Гость «
Гость »
I am currently working on a project involving property handlers, specifically targeting .txt files. As a newcomer to this field, I have encountered an issue that I'm struggling to resolve and would greatly appreciate your guidance.
Гость » 03 мар 2024, 11:46
Последнее сообщение Гость «
Гость »
I tried to imports ALGLIB to my QT creator C++ project which is probably big.
The .exe compiles fine both in release and debug mode and if I go to the debug and release directory these .exe run perfectly fine. I can also run the program in release...
Гость » 03 мар 2024, 11:13
Последнее сообщение Гость «
Гость »
You are the coach of a basketball team with a maximum total player capacity of K. You have a list of player types of size N, where each player of one type contributes a certain number of points to the team's overall points, and the number of players...
Гость » 03 мар 2024, 11:11
Последнее сообщение Гость «
Гость »
Platform: Windows 10, Visual Studio VC142
I'm using Boost 1.80.0 in my project. I've built Boost and been using modules such as Container without issue , however I tried to use Boost.Serialization and I get a link error:
Гость » 03 мар 2024, 10:47
Последнее сообщение Гость «
Гость »
I wrote the following code that has two lambdas. One of them explicitly captures i while the other doesn't. Note i is constexpr so we don't need to capture it explicitly.
My question is why func(lambda2) doesn't compile while func(lambda) does?...
Гость » 03 мар 2024, 10:20
Последнее сообщение Гость «
Гость »
I have used the glfwgetwindowpos and glfwsetwindowpos with imgui's getmousedragdelta to try and move the parent glfw window using imgui. What I am trying to accomplish is to have an imgui window where I am able to drag on it, but rather than moving...
Гость » 03 мар 2024, 09:56
Последнее сообщение Гость «
Гость »
I'm having some troubles cross compiling Qt6 on Ubuntu 22.04 using mingw64 and CMake. The compilation process starts fine and all source files get compiled, but when I start looking for Qt components using
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения