stl tag

21 questions


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

1 years ago

1 answers
100 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,+...

1 years ago

1 answers
91 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?).

1 years ago

1 answers
121 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?

1 years ago

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

1 years ago

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

1 years ago

1 answers
59 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().

1 years ago

2 answers
94 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
83 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...

1 years ago

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

1 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.