sjrowlinson's user avatar
sjrowlinson's user avatar
sjrowlinson's user avatar
sjrowlinson
  • Member for 7 years, 5 months
  • Last seen more than 1 year ago
19 votes

Is specialization of std::to_string for custom types allowed by the C++ standard?

17 votes
Accepted

Should I declare a variable inside or outside the main function?

14 votes

How can I use a C++ unordered_set for a custom class?

10 votes
Accepted

do I have to clear std::vector before deleting it

10 votes

Doxygen -- Single Comment Block for Multiple Functions

8 votes
Accepted

How do you order objects in a priority_queue in C++?

7 votes
Accepted

(C++ )If I declare something private in a class but it can be changed via public methods of class, then why should I declare it private?

7 votes
Accepted

Fast way to push_back a vector many times

5 votes
Accepted

Declaration of Priority Queue using greater and vector

5 votes
Accepted

how to find the max element between the m-th and the n-th element of a vector in C++?

5 votes

increment a loop by power of 2

4 votes

Display number with decimal places instead of whole number

4 votes

Inserting 2 items into a vector

4 votes

square was not declared in this scope

4 votes
Accepted

Building Python package containing multiple Cython extensions

4 votes
Accepted

C++ OOP: how to create a random number generator object?

3 votes
Accepted

C++ priority_queue size() issue

3 votes

operator<< overloading "error: passing 'const...."

3 votes

C++, Sort One Vector Based On Another One

3 votes

How to know unordered_map<T*> contains a value?

3 votes

Can derived object pointers be stored in an array of base class pointers?

2 votes
Accepted

Compilation errors when using cout

2 votes

EAccess Violation when initializing char matrix

2 votes

Taking a pointer passed to a function, then putting it into another function

2 votes

std::vector<int> vec[nx][ny];

2 votes
Accepted

File output inconsistency between GCC and MSVC

2 votes

How to generate a list of ascending random integers

2 votes

Write performance of a file c++

2 votes

randomizer only generating up to 99 c++

2 votes

How would I enter multiple inputs into a vector with only one line of input?