c++ tag

886 questions


1 answers
119 views
0
Learn how keystrokes work in Windows

Developing Windows applications in C++.To get the key event, first get WM_KEYDOWN.Global Hook if you want to know sooner.Develop KeyboardFilterDriver if you want to know more quickly...This is how I'v...

2 years ago

3 answers
81 views
0
Error when member has unique_ptr in c++ forward declaration (error: invalid application of 'sizeof' to an incomplete type 'B')

There is a compilation error in unique_ptr, and I don't know even if I look into it, so please let me ask you a question.A.h#include<memory>class B;class A { public: static std::unique_ptr<A...

2 years ago

1 answers
81 views
0
PCL tutorial "Extracting indications from a PointCloud" cannot be built

I would like to use PCL to extract the plane from the point group.There is a tutorial on PCL that says Extracting indications from a PointCloud, and when I tried to run this code, I got the following ...

2 years ago

1 answers
65 views
0
I want to be able to move 3*3 squares like the Rockman Executive.

environmentVisual Studio 2019DX LibraryC language, C++#include DxLib.hint Key [256]; // Store the number of frames pressed by the key// update key entry statusint gpUpdateKey(){ char tmpKey [256]; // ...

2 years ago

1 answers
28 views
0
Unable to enter c++ vector.

error messages:No operator >> matches these operands -- Operand type: std::istream>>graphC/C++(349)source code:#include<bits/stdc++.h>using namespace std;int main(){ inth,w; vector&l...

c++
2 years ago

1 answers
36 views
0
Atcoder ATC001A depth priority search implemented in C++ using recursive results in TLE

ATC001A depth priority search was implemented in C++ as follows, but 12 out of 88 TLE and 2 MLE were implemented.Recursive is used.I also gave the coordinates of goal to the argument and tried to retu...

2 years ago

2 answers
28 views
0
How to use Libconfig

I am writing a simple C++ app for Linux Debian.I'm going to use Libconfig++ to read and write the config file, but I can read the config file, but I don't know how to update the contents.https://hyper...

c++
2 years ago

2 answers
73 views
0
About 2D game map display and character superposition

I would like to reproduce 2D RPG games like dot-pictured drakue and Pokémon in C++, but there is something I don't understand.View MapsView characters on top of the mapShould I make a map image of a d...


1 answers
113 views
0
Why does the cannot initialize object parameter for "some widgets" with an expression type 'MainWindow' occur?

We launched the mainwindow project in QtCreator 4.7Qt5.11.The pro file, the h file, and the cpp file are automatically created, but there is an error that does not make sense.mainwindow.cpp#include ma...


2 answers
135 views
0
Is it OK that the string of numbers generated by std::random_device is the same every time?

In the MinGW version of GCC, the default constructor of std::random_device generates the same numeric column every time, but is this behavior compliant with the standard?The implementation limitation ...

2 years ago
« - 32 - »

© 2024 OneMinuteCode. All rights reserved.