Tour
About Us
Meta
Loading…
current community
Stack Exchange
chat
Meta Stack Exchange
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Log in
Stack Exchange
All Sites
Top Users
Digests
Trevor Hickey
Pittsburgh, PA, United States
https://github.com/luxe
and programming
top
accounts
reputation
activity
subscriptions
Top Questions
170
votes
Should I return EXIT_SUCCESS or 0 from main()?
c++
c
return-value
main
asked Jan 15, 2012 at 6:09
stackoverflow.com
96
votes
Why only define a macro if it's not already defined?
c
macros
c-preprocessor
ifndef
asked Sep 4, 2015 at 12:53
stackoverflow.com
89
votes
Why does printf("%f",0); give undefined behavior?
c++
c
printf
implicit-conversion
undefined-behavior
asked Jul 26, 2016 at 18:23
stackoverflow.com
88
votes
How do you print a C++11 time_point?
c++
templates
time
c++11
chrono
asked Apr 3, 2013 at 0:54
stackoverflow.com
85
votes
How do I avoid implicit conversions on non-constructing functions?
c++
function
casting
implicit-conversion
implicit-cast
asked Oct 13, 2012 at 22:19
stackoverflow.com
79
votes
Use a library locally instead of installing it
python
import
module
asked Jan 30, 2012 at 5:21
stackoverflow.com
76
votes
A lambda's return type can be deduced by the return value, so why can't a function's?
c++
function
c++11
lambda
auto
asked Dec 4, 2013 at 5:13
stackoverflow.com
74
votes
How can I emulate destructuring in C++?
c++
c++17
destructuring
language-construct
asked Jul 13, 2015 at 22:22
stackoverflow.com
71
votes
Is there a difference between universal references and forwarding references?
c++
templates
perfect-forwarding
universal-reference
forwarding-reference
asked Sep 17, 2016 at 22:24
stackoverflow.com
67
votes
When would I use std::integral_constant over constexpr?
c++
templates
c++11
constants
constexpr
asked Dec 4, 2013 at 6:06
stackoverflow.com
1
2
3
4
5
…
10
next
Top Answers
61
Are == and != mutually dependent?
stackoverflow.com
54
Convert between byte count and "human-readable" string
stackoverflow.com
37
What are .in files?
unix.stackexchange.com
36
How can I see cout output in a non-console application?
stackoverflow.com
30
What are the 15 classifications of types in C++?
stackoverflow.com
30
Equivalent of __func__ or __FUNCTION__ in Rust?
stackoverflow.com
25
undefined reference to malloc
stackoverflow.com
25
Is there a tab equivalent of std::endl within the standard library?
stackoverflow.com
22
Output the legendary Yggdrasil
codegolf.stackexchange.com
21
Why isn't vector<bool> a STL container?
stackoverflow.com
21
What is beautiful code?
softwareengineering.stackexchange.com
19
Determine if a type is an STL container at compile time
stackoverflow.com
15
What does"one-past-the-last-element" mean in vectors?
stackoverflow.com
14
How do I make a target in a makefile invoke another target in the makefile
stackoverflow.com
13
Need to concatenate a string to each line of ls command output in unix
stackoverflow.com
13
Why is C++17 adding attributes to namespaces and enumerators?
stackoverflow.com
12
use of atoi() function in c++
stackoverflow.com
11
Is empty struct defined by C++ standard?
stackoverflow.com
11
Difference between uint and unsigned int?
stackoverflow.com
11
Compiler Error: No matching function for call to find
stackoverflow.com
9
Connecting three different objects
stackoverflow.com
9
Sort one vector using another in nonincreasing order
stackoverflow.com
8
ld cannot find -l<library>
stackoverflow.com
7
Makefile (Auto-Dependency Generation)
stackoverflow.com
7
Can a C++ function be declared such that the return value cannot be ignored?
stackoverflow.com
6
gcc and clang warnings/errors flags
stackoverflow.com
6
Is it good to use switch-case instead of "if"?
stackoverflow.com
6
How to read this file into variables?
stackoverflow.com
6
How to run multiple brew commands with one line?
stackoverflow.com
6
Unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Parent
stackoverflow.com
1
2
next
Stack Exchange works best with JavaScript enabled