stl tag

21 questions


1 answers
57 views
0
C++ template lambda function cannot be passed to the factor.

//// // main.cpp// // test//// // Created by bodguy on 2016. 8. 22..// Copyright © 2016 bodguy. All rights reserved.//#include <iostream>#include <functional>#include <type_traits>te...

2 years ago

1 answers
115 views
0
:: To find out if there is a particular key map std.

std::map I want to find out if the key already exists or notWhat should I do?My code is making an error typedef map<string,string>::iterator mi;map<string, string> m;m.insert(make_pair(f,+...

2 years ago

1 answers
103 views
0
Is it correct to use map:insert() or []?

When adding data to the map I know there are two ways, but I want to know the difference between the two and which one is right (standard?).

2 years ago

1 answers
143 views
0
Can I convert std::vector> to an array in C++?

As the title says, I want to save vector with pair value as an array, is it possible?

2 years ago

1 answers
107 views
0
To store references in a vector?

std::vector<int &> hello;If you try to save references of int together error C2528: 'pointer' : pointer to reference is illegalAn error appears.I'm not good at using a pointer, so I'm going ...

2 years ago

1 answers
101 views
0
Why do you use an editor, not an index?

//code1for (int i = 0; i < some_vector.size(); i++){ //...}//Code2for (some_iterator = some_vector.begin(); some_iterator != some_vector.end(); some_iterator++){ //...}Usually, when you use a conta...

2 years ago

1 answers
67 views
0
What do you do when you clear spaces in std::string?

What do you do when you clear spaces in std::string?I just change it to a repeating sentence, but I wonder if I can do it without using a repeating sentence like a tupper().

2 years ago

2 answers
103 views
0
Run Error (500 ClassNotFoundException) question in JSTL Intelligence J-IDEA (2016.2.5).(It works well in Eclipse ㅜ))

Hello, I am a student studying web programming.These days, I am studying jstl and el in JSP.I am using IntelliJ IDEA as IDE.When I first created the web application project, I just copied ojdbc14.jar ...


1 answers
92 views
0
Why is there no tree container in C++STL? Please let me know what I can use instead

We need a hierarchy of trees, not for performance.I looked it up to see if it was in STL, but it wasn't there.Why doesn't C++STL have tree container? tree is useful.Can anyone tell me if there's anyth...

2 years ago

1 answers
143 views
0
If the value in JSTL is 0, can we not print it out?

<td align='center'> <c:out value='${resultList.out_qty}' /><c:out value='${resultList.in_qty}' /> </td>To display quantities in the statement output file, take out_qty, in_qt...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.