Khaled Alshaya's user avatar
Khaled Alshaya's user avatar
Khaled Alshaya's user avatar
Khaled Alshaya
  • Member for 14 years, 3 months
  • Last seen more than a month ago
656 votes
14 answers
392k views

What is the nullptr keyword, and why is it better than NULL?

596 votes
24 answers
401k views

Simulator or Emulator? What is the difference?

204 votes
14 answers
101k views

Why would anyone use set instead of unordered_set?

174 votes
9 answers
84k views

Why do Lua arrays(tables) start at 1 instead of 0?

160 votes
30 answers
286k views

How to create the most compact mapping n → isprime(n) up to a limit N?

149 votes
9 answers
90k views

What does static_assert do, and what would you use it for?

105 votes
11 answers
113k views

Should I use double or float?

98 votes
5 answers
93k views

A simple example for someone who wants to understand Dynamic Programming [closed]

73 votes
8 answers
44k views

Bind Vs Lambda?

54 votes
13 answers
51k views

Is it possible to write swap method in Java? [duplicate]

53 votes
7 answers
60k views

How do conversion operators work in C++?

37 votes
6 answers
10k views

Why do some languages need Boxing and Unboxing?

34 votes
16 answers
3k views

Is OOP abused in universities? [closed]

34 votes
6 answers
10k views

Name of C/C++ stdlib naming convention?

33 votes
10 answers
13k views

Is there a way to access the underlying container of STL container adaptors?

30 votes
9 answers
3k views

What are the schools of OOP? [closed]

30 votes
8 answers
7k views

What could C/C++ "lose" if they defined a standard ABI?

29 votes
7 answers
35k views

What does it mean when you say C# is component oriented language?

26 votes
2 answers
5k views

Does Qt work well with STL & Boost?

19 votes
12 answers
5k views

Why aren't Floating-Point Decimal numbers hardware accelerated like Floating-Point Binary numbers?

19 votes
5 answers
9k views

Why does wide file-stream in C++ narrow written data by default?

18 votes
3 answers
8k views

Best bignum library to solve Project Euler problems in C++? [closed]

15 votes
7 answers
632 views

Tips for submitting a library to Boost?

15 votes
3 answers
11k views

Why aren't template specializations allowed to be in different namespaces?

14 votes
4 answers
2k views

Is shared ownership of objects a sign of bad design?

14 votes
5 answers
11k views

What is the lifetime of class static variables in C++?

14 votes
10 answers
2k views

Do formal methods of program verfication have a place in industry?

13 votes
3 answers
1k views

what is regular expression?

13 votes
8 answers
5k views

How could I print the contents of any container in a generic way?

13 votes
7 answers
2k views

Why is there a different string class in every C++ platform out there?