PaulMcKenzie's user avatar
PaulMcKenzie's user avatar
PaulMcKenzie's user avatar
PaulMcKenzie
  • Member for 10 years, 4 months
  • Last seen this week
36 votes
Accepted

how to create a contiguous 2d array in c++?

32 votes
Accepted

Why does pow(n,2) return 24 when n=5, with my compiler and OS?

16 votes

Good C++ solutions to the "Bring all the zeros to the back of the array" interview challenge

15 votes
Accepted

stack around the variable...was corrupted

14 votes
Accepted

In C++ Inheritance, Derived class destructor not called when pointer object to base class is pointed to derived class

14 votes
Accepted

Explicitly initialize DWORD to 1, but debugger shows wildly out of range value

13 votes
Accepted

c++ iterator stuck at first value

12 votes

How to move the first digit to the end of a number in c++?

11 votes

How can I convert std::vector<T> to a vector of pairs std::vector<std::pair<T,T>> using an STL algorithm?

11 votes
Accepted

Erasing() an element in a vector doesn't work

11 votes

How to debug a Windows DLL used inside Python?

11 votes
Accepted

ERROR: AddressSanitizer: heap-buffer-overflow on address X at pc Y bp Z sp W

11 votes
Accepted

std::sort comparing elements to null

10 votes
Accepted

When is a divide by zero not a divide by zero? A puzzle in the debugger (static variable issues)

10 votes
Accepted

C++ Passing std::string by reference to function in dll

9 votes
Accepted

Why do I get: -9223372036854775808

9 votes
Accepted

Verify user input is 5 digit number

9 votes
Accepted

Remove Object from C++ list

9 votes
Accepted

DLL call with __stdcall & GetProcAddress() in VS2013

9 votes
Accepted

Returning arrays from a function in c++

9 votes
Accepted

exit() call inside a function which should return a reference

8 votes
Accepted

Code submission on SPOJ gives runtime error (SIGABRT)

8 votes
Accepted

Can I get rid of nested for loops here?

8 votes
Accepted

My program that is supposed to get rid of characters that are not numbers doesn't fully work, any ideas on what I'm doing wrong?

7 votes
Accepted

Assignment operator in linked list C++

7 votes
Accepted

Bus error (core dumped) with Linked Lists?

7 votes
Accepted

How to print array of LPCTSTR in c++?

7 votes
Accepted

A good way to create a palindrome in C++ given first half

7 votes
Accepted

why sys socket recv function don't fill data but return bytes length?

7 votes
Accepted

C++ How to average a string of numbers?

1
2 3 4 5
52