stl tag

21 questions


1 answers
81 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...

1 years ago

2 answers
110 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...

1 years ago

1 answers
77 views
0
Join STL vector

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

1 years ago

1 answers
64 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...

1 years ago

1 answers
79 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

1 years ago

2 answers
132 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...

1 years ago

1 answers
134 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 ...

1 years ago

1 answers
122 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...

1 years ago

1 answers
141 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
67 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...

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.