Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
For each push_back() std::vector copies all the objects in a vector to a new one?
c++
copy
objects
push_back
std::vector
0 Vote
2 Réponses
25th Dec 2019, 9:36 AM
Akib
Any one tell please about...... vector......in c++;
c++
vector
8 Votes
5 Réponses
31st Aug 2017, 11:32 AM
Nishant Shekhar Soni
[C++ Help] I'm trying to conversion by using vector and string but when loop back it error
c
c++
capitalize
conversion
do-loop
erase
name
string
swap
vector
1 Vote
3 Réponses
27th Oct 2019, 4:04 AM
Phuc Hoang Trinh
Buenos días, por favor alguien que me pudiera ayudar quiero eliminar elementos pares de un vector
13579
-1 Vote
2 Réponses
13th Apr 2018, 3:38 PM
Luis Beltran Condori Cano
Why isn't this code working though it was working perfectly earlier ???
c++
vector
5 Votes
3 Réponses
27th May 2018, 8:16 AM
Junaid Siddiqui
Pass by reference or pass by pointer?
cpp
pass-by-pointer
pass-by-value
vector
4 Votes
23 Réponses
26th Apr 2023, 3:41 PM
Ali_combination
Why am I getting the error that type Vector does not take parameters for this code?
java
parameters
vector
1 Vote
1 Réponse
6th Apr 2020, 1:32 PM
Merlyn J
I am not great in math, can someone tell me how to rotate a 2d vector (not the array)
2d
class
cpp
vector
0 Vote
9 Réponses
21st Jun 2017, 12:04 PM
clement
I want a iterative and without function c program for verifying if a vector is sorted increasily or not,is my code correct?
c
iterative
method
program
1 Vote
9 Réponses
13th Feb 2021, 1:58 PM
Coderalgeria
How do you put input into a vector when you don't know how many elements there will be for input?
c++
3 Votes
3 Réponses
24th Dec 2019, 9:53 PM
Julio Castaneda
My code below is supposed to take a number as input and output the color name at that index. Please explain where I went wrong.
r
vector
1 Vote
3 Réponses
8th Apr 2023, 9:01 PM
Kody Marsh
help! i need to make this program more time efficient
c++
vector
0 Vote
1 Réponse
3rd Mar 2020, 7:01 AM
Mihail
I'm trying to write a program that randomly picks n number of elements from a vector
c++
rand
vectors
0 Vote
2 Réponses
5th Apr 2018, 3:21 AM
Fig
Is it possible to check if a vector has increasing sequence in it? Given that it’s a random vector? C++
c++
vectors
0 Vote
5 Réponses
27th Apr 2022, 8:25 PM
Annei ❤️
String split
c++
strings
vector
3 Votes
11 Réponses
20th Feb 2019, 9:01 PM
Daniel Cooper
In matlab if I make 2 dimensional vector as symbolic syms w[1 10] and write this line: assume(w,'real');
c++
matlab
real
syms
variables
1 Vote
2 Réponses
17th Nov 2020, 9:50 AM
Zhenis Otarbay
Why vectors?
c++
vector
4 Votes
3 Réponses
11th Mar 2017, 1:58 PM
Someone
I have attached my doubt in the below code
c++
vector
1 Vote
1 Réponse
19th Aug 2023, 8:33 AM
King
Java program to accept a list of 5 elements from command line and store them in vector
java
0 Vote
3 Réponses
4th Apr 2017, 3:01 PM
Priyanshi
How does vector::data actually work?
c++
vector
3 Votes
3 Réponses
7th Dec 2017, 7:24 PM
wave rider
¿ingresar un vector de 5 elementos y obtener la diferencia entre el mayor y menor
ayuda
c#
daniel
es
fernández
hidalgo
mañana
porfavor
0 Vote
1 Réponse
30th Nov 2017, 11:54 PM
Belén
Write a computer programming for computing Eigen vector from given Eigen value of Matrix .
.c
-1 Vote
1 Réponse
22nd Jan 2022, 11:31 AM
Samarth Jadhav
challenge explanation
c++
destructors
vector
8 Votes
3 Réponses
7th Oct 2019, 10:31 AM
ABADA S
If there was a simple way of explaining vectors in c++, how would you explain it to me?
c++
vector
0 Vote
2 Réponses
14th Apr 2019, 9:08 PM
Asmerom Estifanos
Hey everyone ,my question is that after extraction of features from signal , how we change these to vector and make a class.
colab
jupyter
python
1 Vote
6 Réponses
23rd Mar 2023, 6:31 PM
Muhammad Faisal
Why we need vector, queue, stack if we already have double ended queue in cpp ?
c++
queue
stack
vector
4 Votes
12 Réponses
27th Sep 2021, 6:38 AM
Aditya Singh
Can anyone guide me in solving this problem?
c++
string
vector
0 Vote
9 Réponses
22nd Nov 2020, 12:41 PM
Faezeh Alinejad
C++ Array
array
c++
vector
2 Votes
3 Réponses
6th Aug 2020, 2:20 PM
Raju
Would adding a vector from scratch in C++ with modern practices be a good resume project?
c++
resumeproject
0 Vote
1 Réponse
19th Aug 2020, 1:10 PM
Gabe
Comparing two vectors but getting random number
algorithm
c++
vector
1 Vote
8 Réponses
17th Mar 2022, 7:39 PM
Yones Mussa
help to optimize code : world cup game
c++
optimize
upper_bbound
vector
0 Vote
13 Réponses
9th Jun 2020, 10:50 AM
Ketan Lalcheta
Can auto be considered as vector<int> or not
auto
c++
vector
0 Vote
7 Réponses
17th Oct 2022, 6:17 PM
Ketan Lalcheta
Why is this code dumped in this compiler?
c++
pair
vector
2 Votes
5 Réponses
8th May 2024, 4:43 PM
TeaserCode
Why I get this error ?
adjacency
c++
error
for
vector
0 Vote
19 Réponses
30th Jun 2020, 2:59 PM
Ovidiu Călin
Position of a mouse is given x=10-2t+4t² and y=2+3t. What is the velocity and acceleration in unit vector notation? Here x and y
help
math
mathematics
physics
0 Vote
6 Réponses
18th May 2019, 8:29 AM
The Cryptic Factory
How we can display arabic or Chinese or Hindu characters imported data in Jtable or vector tables?
java
0 Vote
2 Réponses
4th Aug 2016, 6:11 PM
Adjed boumediene
Are there any problems with the c++ code
c++
vector
0 Vote
2 Réponses
5th Jan 2019, 7:09 AM
林克翰
Can anyone help: I want a iterative and without function c program for verifying if a vector is sorted increasily or not?
c
program
0 Vote
4 Réponses
13th Feb 2021, 10:30 PM
Coderalgeria
In this code why output is always 12, irrespective of value of n.
c++
vector
0 Vote
3 Réponses
27th Feb 2018, 3:04 PM
SANGMESH PATIL
Newbie to C++: How to use pointer to reach the different elements in a row of a vector
c++
pointers
vector
0 Vote
2 Réponses
27th Mar 2020, 2:08 PM
汝風留名
I need to detect if a object is hiting a obstacle from X axis or Y axis. The motion works with a Vector that stores 2 variables
collision
game
vector
3 Votes
6 Réponses
9th Jan 2017, 3:59 PM
Igor Busquets
c++ question on 'It's a sign' challenge
c++
codecoach
vector
0 Vote
4 Réponses
3rd Dec 2022, 1:21 PM
The_Fox
using vectors instead of arrays? (C++)
arrays
c++
vector
1 Vote
3 Réponses
14th May 2019, 11:40 AM
你知道規則,我也是
Why is this code not getting the last word?
c++
strings
vector
2 Votes
2 Réponses
21st Feb 2019, 5:29 AM
Daniel Cooper
Cargar un vector de 10 posiciones y mostrar: El número más grande, el más chico y el promedio de los números ingresados.
java
0 Vote
3 Réponses
18th Apr 2020, 12:12 AM
Cesia Teri
I want to know, how to write the size of first string in vector after execution. Is my statement in the code correct?
c++
0 Vote
3 Réponses
23rd Sep 2021, 4:49 AM
TeaserCode
i cant figure out how to put a vector into a multiset. i need the multiset to have <char,int> signature.
algorithms
c++
iterators
multiset
std::copy
vectors
1 Vote
1 Réponse
5th Nov 2018, 2:08 AM
Brandon Autry
Can we apply binary search on c++ list and vector?
c++
list
vector
0 Vote
5 Réponses
21st May 2018, 8:54 AM
$¢𝐎₹𝔭!𝐨𝓝
How the code works?
c++
for
functions
loops
vector
7 Votes
2 Réponses
24th Dec 2018, 12:19 AM
ZΛRTHΛИ
Need help with memory management in C++!!
c++
sfml
vector
2 Votes
1 Réponse
24th Oct 2020, 6:03 PM
Hilal El Mehdi
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
4
5
6
...
8
Suivant >
Aujourd'hui en vedette
What's the best way to learn anything
2 Votes
Most asked!
2 Votes
How can I improve my Authenticator App built with HTML, CSS, and JavaScript?
0 Votes
Is react js enough for frontend??
0 Votes
Malloc vs calloc | memory not initialized
1 Votes
help!
0 Votes
Mini project ideas for final years
1 Votes
Please guys could smw do this for me ?
0 Votes
Best way to remember things on this app?
0 Votes
Inquiry on how to start html
0 Votes