home
I have a vector 'connections' with values that increment by 1. e.g. (3, 6, 7, 7, 14, 12... ) etc. I...
I want to implement my own simple vector class. This vector should support pushing new elements (of...
Assuming a function needs a pointer to a vector of type T but when I have only a vector of vector...
I am a beginner and trying to make an inventory program for a school project but my c++ knowledge...
I've looked this over and I can't quite understand why this is giving me NA values appended onto...
I have a vector: connections = c(1:100), then i set all the elements to zero 'connections[1:100] =...
t <- c(1/12, 1/6, 1/4, 1/3, 5/12, 1/2, 7/12, 2/3, 3/4, 5/6, 11/12, 1) r <- range(c(1%,...
I'm not sure why I'm getting a compiler error. Here's a snippet of my code vector<int>...
#ifndef User_hpp #define User_hpp #include <stdio.h> #include "Account.hpp" #include...
I want to make some kind of binary tree, but it's not about math. I just want to make moving dot...
I have a program that can determine the number of sides in a image, and also a program that...
I'm new to Java and am stuck with this syntax differences between Vector...
I have vector which contains the objects allocated on heap. I want to delete some of the element...
I have two vectors that I want merged into one. Both are embedded pair vectors (to be able to hold...
Basically, I'm writting a test bench for a multiplier architecture in VHDL and, to do the actual...
I designed an inventory system based on 1 parent class, Item type as a child class and specific...
I want to create a vector with values from n to m with a specified space, but without the last...
I have a benchmark line like this: QVector3D line = QVector3D(38.0572, 29.2247, 35.3996); I...
This is c++ code: std::vector<int> T(256,-1); for (int i=0; i<64; i++)...
I realize I can just type auto instead of trying to figure out the type for the iterator that I am...
I have a vector of lists of structs named Edge so, vector<list<Edge>> adjA; and my...
I have to create a vector of ints that can be used in multiple functions relating to vectors, such...
I am trying to use numpy.vectorize to iterate over a (2x5) matrix which contains two vectors...
Let's say I'm using a function (that I can't modify) that takes in a vector like so ... void...
I have a 3d container: std::vector<int, std::vector<std::vector<double>>>...
In real-time applications, e.g. audio programming, you should avoid allocating memory in the heap...
I want to extract the precise mean value of raster values from an area extent defined by a polygon...
I need to calculate entries for a vector whose length I do not know beforehand. How do I do so...
I'm a newbie in programming, but have studied some C and Java. I'm now beginning to study C++. One...
I want to test counting sort on windows with qtcreator. I write a function for countsort which...