Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
1 answer
34 views

Visual studio throwing an error when I name my class "floor"

Ok so I was messing around with some OOPs in visual studio 2022 community edition in C++, when I came across such a baffling problem that I don't even know where to start searching for it. As you can ...
2 votes
1 answer
42 views

Using an analog of boost::asio::awaitable in boost::cobalt

SocketWrapper class has asyncRead that reads either from boost::asio::ssl::stream<boost::asio::ip::tcp::socket> or from boost::asio::ip::tcp::socket depending on isSSL() flag: #pragma once #...
-4 votes
0 answers
58 views

Template instanciation fails [closed]

I have the following code. It doesn't compile, and I can't figure out why. The compiler gives this error: error: expected nested-name-specifier before ‘TaskCPtr’ I can't see a cycle header reference, ...
-4 votes
0 answers
108 views

Scalar product C++ vs Python [closed]

I'm writing code that must perform a dot product between a vector b and a matrix C, where the dot is performed between b and each line of C. I made two implementation, one in C++ and one in Python. ...
-7 votes
0 answers
61 views

how to include bits/stdc++.h in visual studio 2026 insiders [closed]

i want to use the bits library because my projects are starting to crash from using all the libraries above and couts dont work if anybody have a solution
1 vote
2 answers
77 views

How to write a concept for a move input iterator?

I want to write a function that moves the data of a container into another container using an iterator pair. I have the following concept: template <typename Iter, typename T> concept ...
0 votes
0 answers
44 views

Unsubscribe from topic not working when using persistent session Mqtt

I have a Qt application that uses the qtmqtt module to implement a simple MQTT setup. I’m running two instances — one as a subscriber and one as a publisher. In the app, users can right-click on any ...
-4 votes
0 answers
46 views

ostream.tcc is broken because of an fstream problem (C++) [closed]

I am using fstream to read from some files and do some things with them for a problem solving thing. Attached is the whole program: #include <fstream> #include <iostream> #include <...
2 votes
0 answers
62 views

pybind11: C++ callback from background thread to Python not executed in real time

I'm trying to expose a C++ interface and callback system to Python using pybind11. In C++, everything works as expected: the callback is triggered in real time from a background thread. In Python, ...
0 votes
0 answers
42 views

Windows file add tag metadata

Using this answer, I enabled Office document like metadata for .pdf files. I have my Windows detail pane like this now: And the tags I add there are displayed in Explorer's detail view Tags column. ...
redoc's user avatar
  • 3,266
0 votes
1 answer
51 views

Win32 api Edit Control doesn't respond to mouse clicks in child window

I'm having an issue with WinAPI Edit controls in a child window - they don't respond to mouse clicks, but work fine when placed in the main window. Other controls like buttons work normally in both ...
-1 votes
0 answers
83 views

C++ app cannot find Numpy C API even though numpy is installed [closed]

I am deploying a C++ application that at some point allows the user to load and run a Python script. For this, I am loading the C API of Python and Numpy. This is done by calling the function ...
-4 votes
0 answers
98 views

Dealing with memset clearing object of non-trivial type on large structures and supporting old compilers [closed]

I have some large structures, I place any non-trivial types at the bottom and use an offsetof for the memset that clears it. Because it's so large, I don't want individual initialization, plus it ...
-2 votes
0 answers
95 views

How can I debug a driver under Windows XP on a machine with Microsoft Visual C++ 6.0? [closed]

We needed to fix a driver for our hardware that was created 20 years ago using the Microsoft Visual C++ 6.0 development environment. Those who witnessed the driver debugging process claim that the ...
0 votes
1 answer
72 views

Win32: How to check if a HKL refers to a specific family of IMEs

The keyboard APIs of Win32 (Windows API family) are known to be confusing, and there are lots of SO answers about how to display approximate information to a human with enough polyglot skills to ...

15 30 50 per page
1
2 3 4 5
...
54330

AltStyle によって変換されたページ (->オリジナル) /