stl tag

21 questions


1 answers
93 views
0
Reasons why a for statement using a self-made bidirectional list is not spinning

Nice to meet you.This is my first time asking a question.I am currently working on making my own bi-directional lists using pointers in C++ without using STL.In the midst of this, I have written to th...

2 years ago

2 answers
120 views
0
How to Pass Mat Data (or Vector Data) to Shared Memory

I am having trouble knowing how to pass OpenCV Mat data or Vector data to shared memory.I may not understand how to use the pointer, but I would appreciate it if you could give me some advice.I wanted...

2 years ago

1 answers
87 views
0
Join STL vector

Is there a way to combine multiple STL vectors into one?

2 years ago

1 answers
72 views
0
Eteration of C++ vector

How do I write vector literacy?Source code 1 is running normally, but source code 2 shows warning.C++ I just learned itIn the past, unsigned was something that was told to be very carefulunsigned It's...

2 years ago

1 answers
93 views
0
I would like to ask you how to determine if a specific element exists in std::set!

Please let me know if there is a way to check if there are any elements in the set without using for or auto

2 years ago

2 answers
151 views
0
std::is_same does not appear to be working properly.

Hello, everyone I have a question because there was a slight error in writing the c++ and stl codes.The code with the error first is as follows. An error occurs in the annotated area is processed.temp...

2 years ago

1 answers
151 views
0
How do I calculate the date in jstl?

Using jstl fmt tag on jsp Attempt to compute the date. Date is data is This will be taken to the string in the format 1986-01-20.Current Date - Deadline Date = Few days left I'm trying to use it, but ...

2 years ago

1 answers
130 views
0
When using deque in C++, the type when using auto

How do I declare the same type of it in the for statement in the code below?It doesn't come out properly even if I use typeid My prediction is std::deque::iterator, is that right?#include <iostream...

2 years ago

1 answers
155 views
0
Which one should I use to sort vectors in descending order?

Please explain which one to use when sorting vectors in descending order, which one do you prefer?std::sort(numbers.begin(), numbers.end(), std::greater<int>());std::sort(numbers.rbegin(), numbe...


1 answers
80 views
0
How do I erase elements of vector<> with an index?

How do I erase the nth element in std::vector?How do I write functions such as erase() in the source code below?std::vector<int> vec;vec.push_back(6);vec.push_back(-17);vec.push_back(12);vec.era...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.