python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
create vector of array of string and void function pointer in c++
how to create an array or vetor like this in python:
this program in python:
a = [["foo",foofunc]["bar",barfunk]]
an array (or any thing) with another multi type array in,
ama coder
Votes: 0
Answers: 2
How to create a wrapper for `std::make_unique<T>`?
I'd like to create a wrapper for std::unique_ptr<T> and std::make_unique<T> because I think they look ugly and take too long to type. (Yes, I'm that kind of person).
I have completed my Un...
Jamie Pond
Votes: 0
Answers: 1
Is there a type in the standard for storing the begin- and end-iterators of a container?
My question is really simple: Is there a type in the standard whose purpose is to store the begin-terator and the end-iterator for a container?
I want to return both iterators from a single function. ...
JensB
Votes: 0
Answers: 1
Using threads on class methods C++
I'm trying to use a thread on a method of a class I created.
The thread supposes to read the content of the file into a queue.
Here are the methods:
void MessageSender::readAdminFile()
{
std::queu...
idan Soudry
Votes: 0
Answers: 0