itemId
stringlengths
1
34
itemType
stringclasses
4 values
site
stringclasses
4 values
scrapedAt
timestamp[s]date
2026-08-03 00:21:25
2026-08-03 04:01:45
tagName
stringlengths
1
34
questionCount
int64
2
2.53M
hasSynonyms
bool
2 classes
isModeratorOnly
bool
1 class
isRequired
bool
1 class
link
stringlengths
32
258
_run_id
stringclasses
57 values
_dataset_id
stringclasses
57 values
questionId
int64
1
80M
title
stringlengths
15
150
score
int64
-10
35.3k
viewCount
int64
6
16.7M
answerCount
int64
0
296
isAnswered
bool
2 classes
hasAcceptedAnswer
bool
2 classes
tags
listlengths
1
6
createdAt
timestamp[s]date
2008-08-01 04:18:04
2026-08-03 03:37:34
lastActivityAt
timestamp[s]date
2008-10-30 09:20:18
2026-08-03 01:36:51
ownerDisplayName
stringlengths
3
30
isClosed
bool
2 classes
contentLicense
stringclasses
3 values
acceptedAnswerId
int64
4
80M
ownerUserId
int64
1
33M
ownerReputation
int64
1
1.53M
userId
int64
13
33M
displayName
stringclasses
897 values
reputation
int64
1
1.53M
userType
stringclasses
3 values
lastAccessAt
timestamp[s]date
2011-01-10 08:55:57
2026-08-03 03:38:13
goldBadges
int64
0
895
silverBadges
int64
0
9.32k
bronzeBadges
int64
0
9.36k
reputationChangeMonth
int64
-40
1.43k
reputationChangeYear
int64
-1,146
11.7k
websiteUrl
stringclasses
302 values
location
stringclasses
279 values
acceptRate
int64
17
100
answerId
int64
1.13k
80M
isAccepted
bool
2 classes
bodyText
stringlengths
31
24.4k
bodyHtml
stringlengths
39
34.9k
answers
listlengths
1
3
answersFetched
int64
0
3
204476
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/204476/what-should-main-return-in-c-and-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
204,476
What should main() return in C and C++?
857
486,622
19
true
true
[ "c++", "c", "return-value", "program-entry-point", "return-type" ]
2008-10-15T12:13:48
2025-02-15T19:14:08
Joel
false
CC BY-SA 4.0
204,483
25,632
15,666
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
571394
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/571394/how-to-find-out-if-an-item-is-present-in-a-stdvector
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
571,394
How to find out if an item is present in a std::vector?
851
1,653,994
21
true
true
[ "c++", "std", "stdvector" ]
2009-02-20T21:58:41
2024-09-11T12:08:45
Joan Venge
false
CC BY-SA 4.0
571,405
51,816
334,709
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
103512
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/103512/why-use-static-casttx-instead-of-tx-or-tx
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
103,512
Why use static_cast<T>(x) instead of (T)x or T(x)?
850
458,427
9
true
true
[ "c++", "casting", "static-cast" ]
2008-09-19T16:33:58
2025-12-28T01:12:00
Tommy Herbert
false
CC BY-SA 4.0
103,868
11,575
21,181
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
7663709
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/7663709/how-can-i-convert-a-stdstring-to-int
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
7,663,709
How can I convert a std::string to int?
832
2,371,991
22
true
true
[ "c++", "string", "integer" ]
2011-10-05T15:23:45
2026-05-10T00:06:53
Brandon
false
CC BY-SA 4.0
7,664,227
903,283
8,505
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
612097
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/612097/how-can-i-get-the-list-of-files-in-a-directory-using-c-or-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
612,097
How can I get the list of files in a directory using C or C++?
830
1,397,332
33
true
true
[ "c++", "c", "file", "directory" ]
2009-03-04T19:35:58
2023-07-25T23:37:48
foobarfuzzbizz
false
CC BY-SA 4.0
612,176
39,036
59,213
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
357307
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/357307/how-to-call-a-parent-class-function-from-derived-class-function
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
357,307
How to call a parent class function from derived class function?
811
1,047,046
9
true
true
[ "c++", "oop", "inheritance" ]
2008-12-10T19:35:45
2024-01-09T19:23:09
IaCoder
false
CC BY-SA 3.0
357,380
17,337
12,850
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
7868936
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/7868936/read-file-line-by-line-using-ifstream-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
7,868,936
Read file line by line using ifstream in C++
807
2,040,770
8
true
true
[ "c++", "file-io", "ofstream" ]
2011-10-23T20:24:31
2025-11-30T22:09:44
dukevin
false
CC BY-SA 4.0
7,868,998
255,439
23,406
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12264970
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/12264970/why-is-my-program-slow-when-looping-over-exactly-8192-elements
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
12,264,970
Why is my program slow when looping over exactly 8192 elements?
806
100,725
2
true
true
[ "c++", "performance", "memory-management", "gcc" ]
2012-09-04T13:51:31
2017-10-11T12:08:18
anon
false
CC BY-SA 3.0
12,265,928
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2023977
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2023977/what-is-the-difference-between-typename-and-class-template-parameters
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,023,977
What is the difference between "typename" and "class" template parameters?
802
338,924
6
true
true
[ "c++", "templates", "keyword" ]
2010-01-07T21:59:41
2023-09-23T10:08:47
Mat
false
CC BY-SA 4.0
2,024,173
127,213
11,961
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3141087
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/3141087/what-is-meant-with-const-at-end-of-function-declaration
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
3,141,087
What is meant with "const" at end of function declaration?
798
775,294
6
true
true
[ "c++", "constants", "function-qualifier" ]
2010-06-29T13:31:02
2023-09-23T08:10:07
aPoC
true
null
3,141,107
359,131
8,051
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1759300
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1759300/when-should-i-write-the-keyword-inline-for-a-function-method
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,759,300
When should I write the keyword 'inline' for a function/method?
798
248,433
16
true
true
[ "c++", "inline", "one-definition-rule", "inline-functions" ]
2009-11-18T21:46:00
2023-09-25T22:52:05
Partial
false
CC BY-SA 4.0
1,759,575
127,716
10,139
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
191757
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/191757/how-to-concatenate-a-stdstring-and-an-int
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
191,757
How to concatenate a std::string and an int
795
872,237
25
true
false
[ "c++", "integer", "concatenation", "stdstring" ]
2008-10-10T15:05:05
2024-01-01T18:24:25
Obediah Stane
false
CC BY-SA 4.0
null
23,120
16,089
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
152555
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/152555/h-or-hpp-for-your-c-headers-class-definitions
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
152,555
*.h or *.hpp for your C++ headers / class definitions
793
551,409
22
true
true
[ "c++", "header", "naming-conventions", "file-type" ]
2008-09-30T10:47:16
2025-10-22T15:39:54
Mark Ingram
true
null
152,671
986
74,211
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2340281
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2340281/check-if-a-string-contains-a-string-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,340,281
Check if a string contains a string in C++
791
1,551,146
16
true
true
[ "c++", "string", "substring" ]
2010-02-26T08:19:15
2025-01-11T13:36:45
neuromancer
false
CC BY-SA 4.0
2,340,309
209,512
56,059
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
63166
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
63,166
How to determine CPU and memory consumption from inside a process
785
483,695
10
true
false
[ "c++", "c", "memory", "cpu" ]
2008-09-15T14:04:43
2023-09-26T06:43:24
Lanzelot
false
CC BY-SA 4.0
null
7,381
16,695
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1545080
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1545080/c-code-file-extension-what-is-the-difference-between-cc-and-cpp
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,545,080
C++ code file extension? What is the difference between .cc and .cpp
782
612,077
17
true
true
[ "c++", "filenames" ]
2009-10-09T17:23:18
2023-10-11T19:55:18
Jessica
true
null
1,545,085
178,133
1,469
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
18335861
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/18335861/why-is-enum-class-considered-safer-to-use-than-plain-enum
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
18,335,861
Why is enum class considered safer to use than plain enum?
774
561,045
9
true
true
[ "c++", "enums", "type-safety", "enum-class", "c++-faq" ]
2013-08-20T13:06:13
2025-10-03T09:38:43
Oleksiy
false
CC BY-SA 4.0
18,335,862
1,367,392
40,527
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
10787766
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/10787766/when-should-i-really-use-noexcept
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
10,787,766
When should I really use noexcept?
773
261,410
10
true
true
[ "c++", "c++11", "exception", "noexcept" ]
2012-05-28T16:29:09
2025-08-15T17:08:53
void-pointer
false
CC BY-SA 4.0
10,788,136
414,271
15,127
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
589575
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/589575/what-does-the-c-standard-say-about-the-size-of-int-long
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
589,575
What does the C++ standard say about the size of int, long?
765
1,395,756
18
true
false
[ "c++", "integer", "language-lawyer", "long-integer", "c++-faq" ]
2009-02-26T07:59:23
2026-04-21T13:56:41
Jérôme
false
CC BY-SA 4.0
null
2,796
27,227
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
875103
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/875103/how-do-i-erase-an-element-from-stdvector-by-index
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
875,103
How do I erase an element from std::vector<> by index?
761
1,399,603
16
true
true
[ "c++", "stl", "stdvector", "erase" ]
2009-05-17T17:59:36
2024-02-27T17:38:29
dau_man
false
CC BY-SA 4.0
875,109
108,466
7,629
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1653958
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1653958/why-are-ifndef-and-define-used-in-c-header-files
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,653,958
Why are #ifndef and #define used in C++ header files?
758
796,138
5
true
true
[ "c++", "c", "c-preprocessor" ]
2009-10-31T10:06:34
2023-11-15T19:41:26
Asad Khan
false
CC BY-SA 4.0
1,653,965
197,688
11,989
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
199333
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/199333/how-do-i-detect-unsigned-integer-overflow
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
199,333
How do I detect unsigned integer overflow?
758
493,362
30
true
false
[ "c++", "c", "integer-overflow" ]
2008-10-13T22:53:21
2026-05-22T15:51:50
Chris Johnson
false
CC BY-SA 4.0
null
23,732
10,800
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
115703
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/115703/storing-c-template-function-definitions-in-a-cpp-file
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
115,703
Storing C++ template function definitions in a .CPP file
749
651,646
14
true
true
[ "c++", "templates" ]
2008-09-22T15:55:52
2024-03-14T06:00:59
Rob
false
CC BY-SA 2.5
115,735
9,236
79,298
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
213907
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/213907/stdendl-vs-n
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
213,907
"std::endl" vs "\n"
743
308,898
12
true
true
[ "c++", "iostream", "c++-faq" ]
2008-10-17T21:25:17
2024-07-29T14:09:41
Head Geek
false
CC BY-SA 4.0
213,977
12,193
40,316
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2602013
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2602013/read-whole-ascii-file-into-c-stdstring
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,602,013
Read whole ASCII file into C++ std::string
741
886,317
9
true
true
[ "c++", "string", "caching", "file-io", "standard-library" ]
2010-04-08T17:19:49
2025-03-05T14:37:23
Escualo
true
CC BY-SA 3.0
2,602,060
104,427
42,600
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2236197
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2236197/what-is-the-easiest-way-to-initialize-a-stdvector-with-hardcoded-elements
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,236,197
What is the easiest way to initialize a std::vector with hardcoded elements?
741
1,254,623
29
true
true
[ "c++", "vector", "initialization", "std", "stdvector" ]
2010-02-10T10:55:33
2023-12-18T19:40:58
Agnel Kurian
false
CC BY-SA 4.0
2,236,227
45,603
60,094
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3024197
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/3024197/what-does-int-argc-char-argv-mean
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
3,024,197
What does int argc, char *argv[] mean?
735
1,454,133
11
true
true
[ "c++", "parameters", "command-line-arguments", "argv", "argc" ]
2010-06-11T15:45:43
2025-10-10T19:35:19
Greg Treleaven
false
CC BY-SA 4.0
3,024,202
361,590
8,604
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
14265581
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/14265581/parse-split-a-string-in-c-using-string-delimiter-standard-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
14,265,581
Parse (split) a string in C++ using string delimiter (standard C++)
729
2,525,665
35
true
true
[ "c++", "parsing", "split", "token", "tokenize" ]
2013-01-10T19:16:43
2026-03-27T09:11:48
TheCrazyProgrammer
false
CC BY-SA 4.0
14,266,139
1,214,064
8,906
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12887700
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/12887700/can-code-that-is-valid-in-both-c-and-c-produce-different-behavior-when-compile
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
12,887,700
Can code that is valid in both C and C++ produce different behavior when compiled in each language?
726
54,701
20
true
true
[ "c++", "c" ]
2012-10-14T23:54:26
2025-12-10T17:22:13
user541686
false
CC BY-SA 3.0
12,887,719
541,686
213,325
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
154469
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/154469/why-should-you-prefer-unnamed-namespaces-over-static-functions
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
154,469
Why should you prefer unnamed namespaces over static functions?
718
372,445
11
true
true
[ "c++", "static", "namespaces", "unnamed-namespace" ]
2008-09-30T19:02:00
2023-09-26T08:35:41
Head Geek
false
CC BY-SA 4.0
154,482
12,193
40,316
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4178175
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4178175/what-are-aggregates-and-trivial-types-pods-and-how-why-are-they-special
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,178,175
What are aggregates and trivial types/PODs, and how/why are they special?
714
233,582
6
true
false
[ "c++", "c++11", "aggregate", "c++17", "standard-layout" ]
2010-11-14T15:35:50
2024-08-06T06:42:38
Armen Tsirunyan
false
CC BY-SA 4.0
null
469,935
133,939
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2649334
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2649334/difference-between-static-and-shared-libraries
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,649,334
Difference between static and shared libraries?
713
331,090
9
true
true
[ "c++", "c", "shared-libraries", "static-libraries" ]
2010-04-15T22:08:01
2024-11-15T15:19:44
Mohit Deshpande
false
CC BY-SA 3.0
2,649,430
200,477
55,597
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4955198
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4955198/what-does-dereferencing-a-pointer-mean-in-c-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,955,198
What does 'dereferencing' a pointer mean in C/C++?
712
862,324
6
true
true
[ "c++", "c", "pointers", "dereference", "c++-faq" ]
2011-02-10T09:16:22
2023-03-30T14:25:51
asir
false
CC BY-SA 4.0
4,955,297
606,344
13,591
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
553682
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/553682/when-can-i-use-a-forward-declaration
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
553,682
When can I use a forward declaration?
709
324,975
13
true
true
[ "c++", "forward-declaration", "c++-faq" ]
2009-02-16T15:31:06
2023-04-10T15:28:27
Igor
false
CC BY-SA 3.0
553,869
44,673
27,436
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
77005
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-my-program-crashes
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
77,005
How to automatically generate a stacktrace when my program crashes
707
536,565
31
true
true
[ "c++", "gcc", "crash", "stack-trace", "assert" ]
2008-09-16T20:58:35
2024-04-09T10:07:43
KPexEA
false
CC BY-SA 4.0
77,336
13,676
16,858
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
8389648
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/8389648/how-do-i-achieve-the-theoretical-maximum-of-4-flops-per-cycle
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
8,389,648
How do I achieve the theoretical maximum of 4 FLOPs per cycle?
704
93,606
4
true
true
[ "c++", "assembly", "x86-64", "cpu-architecture", "flops" ]
2011-12-05T17:54:56
2023-01-08T01:50:33
user1059432
false
CC BY-SA 4.0
8,391,601
1,059,432
7,628
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4108313
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4108313/how-do-i-find-the-length-of-an-array
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,108,313
How do I find the length of an array?
704
2,060,920
31
true
true
[ "c++", "arrays" ]
2010-11-05T17:15:54
2024-08-22T09:40:22
Maxpm
false
CC BY-SA 3.0
4,108,340
497,934
26,131
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
10231349
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/10231349/are-the-days-of-passing-const-stdstring-as-a-parameter-over
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
10,231,349
Are the days of passing const std::string & as a parameter over?
697
276,284
13
true
true
[ "c++", "c++11" ]
2012-04-19T15:20:57
2024-12-11T05:53:17
Benj
false
CC BY-SA 3.0
10,232,761
193,128
32,656
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1282295
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1282295/what-is-the-nullptr-keyword-and-why-is-it-better-than-null
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,282,295
What is the nullptr keyword, and why is it better than NULL?
697
435,182
15
true
true
[ "c++", "pointers", "c++11", "nullptr" ]
2009-08-15T16:47:32
2024-12-03T12:33:26
Khaled Alshaya
false
CC BY-SA 4.0
1,282,345
127,893
97,735
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5605125
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/5605125/why-is-iostreameof-inside-a-loop-condition-i-e-while-stream-eof-cons
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
5,605,125
Why is iostream::eof inside a loop condition (i.e. `while (!stream.eof())`) considered wrong?
696
103,581
5
true
true
[ "c++", "iostream", "c++-faq" ]
2011-04-09T12:49:36
2024-10-06T05:21:59
MAK
false
CC BY-SA 4.0
5,605,159
125,382
26,676
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2397984
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2397984/undefined-unspecified-and-implementation-defined-behavior
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,397,984
Undefined, unspecified and implementation-defined behavior
687
105,280
10
true
true
[ "c++", "c", "undefined-behavior", "unspecified-behavior", "implementation-defined-behavior" ]
2010-03-07T21:10:30
2025-03-30T12:33:46
Zolomon
false
CC BY-SA 4.0
4,105,123
182,153
9,997
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
17333
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/17333/how-do-you-compare-float-and-double-while-accounting-for-precision-loss
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
17,333
How do you compare float and double while accounting for precision loss?
680
694,561
32
true
false
[ "c++", "algorithm", "optimization", "floating-point" ]
2008-08-20T02:09:33
2026-02-03T17:51:16
Alex
false
CC BY-SA 4.0
null
2,057
6,841
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
81870
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/81870/is-it-possible-to-print-the-name-of-a-variables-type-in-standard-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
81,870
Is it possible to print (the name of) a variable's type in standard C++?
676
797,125
29
true
true
[ "c++", "variables", "c++11", "typeof" ]
2008-09-17T10:34:44
2025-09-29T20:27:38
Jorge Ferreira
false
CC BY-SA 4.0
20,170,989
6,508
98,359
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
16710047
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
16,710,047
usr/bin/ld: cannot find -l<nameOfTheLibrary>
672
1,675,004
16
true
true
[ "c++", "linux", "g++" ]
2013-05-23T09:20:39
2024-09-23T08:40:45
ZoOo
false
CC BY-SA 3.0
16,710,346
2,412,868
6,713
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1939953
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1939953/how-to-find-if-a-given-key-exists-in-a-stdmap
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,939,953
How to find if a given key exists in a std::map
671
1,060,337
15
true
true
[ "c++", "dictionary", "std", "stdmap" ]
2009-12-21T12:55:03
2024-05-20T13:39:55
There is nothing we can do
false
CC BY-SA 4.0
1,939,971
207,177
24,951
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
997946
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/997946/how-can-i-get-current-time-and-date-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
997,946
How can I get current time and date in C++?
671
1,820,352
27
true
true
[ "c++", "date", "time", "cross-platform" ]
2009-06-15T19:35:38
2025-07-02T13:39:48
Max Frai
false
CC BY-SA 4.0
27,856,440
87,152
64,832
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12774207
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/12774207/fastest-way-to-check-if-a-file-exists-using-standard-c-c11-14-17-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
12,774,207
Fastest way to check if a file exists using standard C++/C++11,14,17/C?
662
1,061,940
23
true
true
[ "c++", "c", "file", "stream" ]
2012-10-08T01:10:11
2023-06-11T11:42:07
Vincent
false
CC BY-SA 4.0
12,774,387
882,932
61,389
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2342162
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2342162/stdstring-formatting-like-sprintf
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,342,162
std::string formatting like sprintf
662
1,510,798
43
true
true
[ "c++", "string", "formatting", "stdstring", "std" ]
2010-02-26T14:15:54
2025-12-22T08:04:04
Max Frai
false
CC BY-SA 4.0
2,342,176
87,152
64,832
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
105014
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/105014/does-the-mutable-keyword-have-any-purpose-other-than-allowing-a-data-member-to
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
105,014
Does the 'mutable' keyword have any purpose other than allowing a data member to be modified by a const member function?
661
329,214
18
true
true
[ "c++", "class", "keyword", "mutable", "datamember" ]
2008-09-19T19:58:05
2024-11-23T15:57:05
Rob
false
CC BY-SA 4.0
105,061
9,236
79,298
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2896600
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2896600/how-to-replace-all-occurrences-of-a-character-in-string
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,896,600
How to replace all occurrences of a character in string?
657
798,942
19
true
true
[ "c++", "algorithm", "str-replace", "stdstring" ]
2010-05-24T11:30:25
2024-02-19T18:31:54
big-z
false
CC BY-SA 3.0
2,896,627
194,510
7,202
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1727881
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1727881/how-to-use-the-pi-constant-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,727,881
How to use the PI constant in C++
655
1,927,760
24
true
true
[ "c++", "trigonometry" ]
2009-11-13T08:24:52
2025-08-02T11:30:32
Etan
false
CC BY-SA 3.0
1,727,896
151,706
17,694
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
185844
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/185844/how-to-initialize-private-static-data-members-in-a-header-file
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
185,844
How to initialize private static data members in a header file
651
706,656
18
true
true
[ "c++", "initialization", "header-files", "static-members" ]
2008-10-09T03:34:35
2023-10-12T11:10:22
Jason Baker
false
CC BY-SA 4.0
185,848
2,147
200,857
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
936687
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/936687/how-do-i-declare-a-2d-array-in-c-using-new
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
936,687
How do I declare a 2d array in C++ using new?
650
1,305,832
29
true
true
[ "c++", "arrays", "multidimensional-array", "dynamic-allocation" ]
2009-06-01T20:42:20
2025-05-17T13:19:48
user20844
false
CC BY-SA 3.0
936,702
20,844
6,687
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
18222926
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/18222926/what-are-the-advantages-of-list-initialization-using-curly-braces
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
18,222,926
What are the advantages of list initialization (using curly braces)?
647
348,888
5
true
true
[ "c++", "c++11", "syntax", "initialization", "list-initialization" ]
2013-08-14T03:56:12
2025-08-28T10:57:04
Oleksiy
false
CC BY-SA 4.0
18,222,927
1,367,392
40,527
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
257288
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/257288/how-can-you-check-whether-a-templated-class-has-a-member-function
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
257,288
How can you check whether a templated class has a member function?
645
257,511
34
true
true
[ "c++", "templates", "template-meta-programming", "sfinae" ]
2008-11-02T20:10:47
2025-05-29T14:08:38
andy
false
CC BY-SA 4.0
257,382
21,482
18,573
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
34732
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/34732/how-do-i-list-the-symbols-in-a-so-file
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
34,732
How do I list the symbols in a .so file
638
639,952
11
true
true
[ "c++", "c", "gcc", "symbols", "name-mangling" ]
2008-08-29T16:57:47
2024-09-20T07:16:14
Moe
false
CC BY-SA 4.0
34,796
3,051
30,080
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
573294
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/573294/when-should-i-use-reinterpret-cast
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
573,294
When should I use reinterpret_cast?
637
553,431
11
true
true
[ "c++", "casting", "reinterpret-cast" ]
2009-02-21T16:12:39
2026-05-15T23:52:56
HeretoLearn
false
CC BY-SA 4.0
573,345
1,984,928
7,474
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
184537
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/184537/in-what-cases-do-i-use-malloc-and-or-new
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
184,537
In what cases do I use malloc and/or new?
630
399,736
20
true
false
[ "c++", "memory-management", "malloc", "new-operator" ]
2008-10-08T19:47:55
2025-03-29T22:55:29
Ralph Burgess
false
CC BY-SA 4.0
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
318398
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/318398/why-does-c-compilation-take-so-long
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
318,398
Why does C++ compilation take so long?
623
176,821
15
true
true
[ "c++", "performance", "compilation" ]
2008-11-25T18:25:14
2022-10-27T07:40:38
Dan Goldstein
true
null
318,440
23,427
23,740
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
298708
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/298708/debugging-with-command-line-parameters-in-visual-studio
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
298,708
Debugging with command-line parameters in Visual Studio
622
590,686
16
true
true
[ "c++", "visual-studio", "debugging", "command-line" ]
2008-11-18T13:27:26
2025-03-19T01:51:02
Maciej Gryka
false
CC BY-SA 2.5
298,713
3,037
8,471
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
213121
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/213121/use-class-or-typename-for-template-parameters
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
213,121
Use 'class' or 'typename' for template parameters?
618
322,065
10
true
true
[ "c++", "templates" ]
2008-10-17T17:43:59
2023-09-23T10:09:25
Kristopher Johnson
true
null
213,135
1,175
82,794
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
145270
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/145270/calling-c-c-from-python
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
145,270
Calling C/C++ from Python?
613
579,520
12
true
true
[ "c++", "python", "c" ]
2008-09-28T05:34:20
2021-06-17T21:41:02
shoosh
true
null
145,436
9,611
79,633
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
20731
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/20731/how-do-you-clear-a-stringstream-variable
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
20,731
How do you clear a stringstream variable?
613
551,590
12
true
true
[ "c++", "stringstream" ]
2008-08-21T18:35:57
2024-10-26T23:05:36
CodingWithoutComments
false
CC BY-SA 3.0
20,792
25
36,290
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
478898
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/478898/how-do-i-execute-a-command-and-get-the-output-of-the-command-within-c-using-po
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
478,898
How do I execute a command and get the output of the command within C++ using POSIX?
610
749,192
14
true
true
[ "c++", "process", "posix", "system", "return-value" ]
2009-01-26T05:11:03
2024-10-05T08:00:58
Misha M
false
CC BY-SA 4.0
478,960
3,467
11,389
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5029840
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/5029840/convert-char-to-int-in-c-and-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
5,029,840
Convert char to int in C and C++
609
2,925,225
14
true
false
[ "c++", "c", "gcc" ]
2011-02-17T13:57:37
2024-11-11T23:02:54
mainajaved
false
CC BY-SA 2.5
null
621,510
8,199
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
7724569
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/7724569/debug-vs-release-in-cmake
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
7,724,569
Debug vs Release in CMake
606
871,866
6
true
true
[ "c++", "c", "gcc", "cmake" ]
2011-10-11T10:26:54
2025-08-01T09:20:08
Cartesius00
true
null
7,725,055
684,534
24,710
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5311515
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/5311515/gcc-fpic-option
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
5,311,515
GCC -fPIC option
604
430,294
5
true
true
[ "c++", "gcc", "fpic" ]
2011-03-15T12:12:16
2023-05-28T17:12:16
Narek
false
CC BY-SA 4.0
5,311,538
163,394
40,219
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3582001
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/3582001/what-are-the-main-purposes-of-stdforward-and-which-problems-does-it-solve
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
3,582,001
What are the main purposes of std::forward and which problems does it solve?
602
143,479
8
true
false
[ "c++", "c++11", "rvalue-reference", "c++-faq", "perfect-forwarding" ]
2010-08-27T06:59:04
2023-12-13T03:28:42
Steveng
false
CC BY-SA 4.0
null
429,401
6,141
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
131803
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/131803/unsigned-int-vs-size-t
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
131,803
unsigned int vs. size_t
602
308,958
8
true
true
[ "c++", "c", "size-t" ]
2008-09-25T07:00:03
2019-08-07T18:34:16
Rob
false
CC BY-SA 2.5
131,833
9,236
79,298
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
6438086
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/6438086/iterator-invalidation-rules-for-c-containers
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
6,438,086
Iterator invalidation rules for C++ containers
594
191,382
6
true
true
[ "c++", "iterator", "std", "c++-faq" ]
2011-06-22T10:01:49
2021-09-07T05:43:00
Lightness Races in Orbit
false
CC BY-SA 4.0
54,004,916
560,648
387,381
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1135841
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1135841/how-to-write-a-multi-line-string-literal
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,135,841
How to write a multi-line string literal
594
598,903
11
true
true
[ "c++", "string-literals", "rawstring" ]
2009-07-16T06:55:57
2024-12-29T07:44:03
rlbond
false
CC BY-SA 4.0
1,135,862
72,631
68,557
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3065154
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/3065154/undefined-reference-to-vtable
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
3,065,154
Undefined reference to vtable
588
961,812
21
true
true
[ "c++", "gcc", "g++" ]
2010-06-17T19:57:22
2024-06-13T14:21:26
RyanG
false
CC BY-SA 4.0
3,087,312
120,729
7,363
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
10422034
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/10422034/when-to-use-extern-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
10,422,034
When to use extern in C++
581
628,068
4
true
true
[ "c++", "variable-declaration" ]
2012-05-02T21:31:27
2022-01-20T19:38:08
Aslan986
false
CC BY-SA 3.0
10,422,050
724,395
10,424
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4295432
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4295432/typedef-function-pointer
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,295,432
Typedef function pointer?
580
647,826
6
true
true
[ "c++", "c", "pointers", "typedef" ]
2010-11-28T04:50:25
2024-09-14T13:21:16
Jack Harvin
false
CC BY-SA 4.0
4,295,495
518,544
6,805
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
28828957
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/28828957/how-to-convert-an-enum-to-a-string-in-modern-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
28,828,957
How to convert an enum to a string in modern C++
576
398,909
36
true
true
[ "c++", "string", "enums", "c++17", "c++20" ]
2015-03-03T10:05:45
2026-06-22T16:07:03
olibre
false
CC BY-SA 4.0
55,312,360
938,111
55,291
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
54120862
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/54120862/does-the-c-standard-allow-for-an-uninitialized-bool-to-crash-a-program
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
54,120,862
Does the C++ standard allow for an uninitialized bool to crash a program?
574
42,756
6
true
true
[ "c++", "llvm", "undefined-behavior", "abi", "llvm-codegen" ]
2019-01-10T01:39:41
2023-09-19T23:09:17
Remz
false
CC BY-SA 4.0
54,125,820
10,892,691
3,418
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
877523
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/877523/error-request-for-member-in-which-is-of-non-class-type
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
877,523
error: request for member '..' in '..' which is of non-class type
572
717,225
10
true
true
[ "c++" ]
2009-05-18T12:38:29
2024-05-23T13:46:25
sarnesjo
false
CC BY-SA 3.0
877,538
103,522
6,294
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
150355
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/150355/programmatically-find-the-number-of-cores-on-a-machine
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
150,355
Programmatically find the number of cores on a machine
572
296,509
21
true
true
[ "c++", "c", "multithreading", "multiplatform" ]
2008-09-29T19:51:45
2023-11-25T07:57:45
hazzen
false
CC BY-SA 4.0
150,971
5,066
17,580
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2196995
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2196995/is-there-any-advantage-of-using-map-over-unordered-map-in-case-of-trivial-keys
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,196,995
Is there any advantage of using map over unordered_map in case of trivial keys?
566
343,601
15
true
true
[ "c++", "performance", "dictionary", "unordered-map" ]
2010-02-04T02:37:43
2025-12-28T19:44:03
Kornel Kisielewicz
false
CC BY-SA 4.0
2,197,015
233,522
58,305
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
75191
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/75191/what-is-an-unsigned-char
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
75,191
What is an unsigned char?
564
773,847
16
true
true
[ "c++", "c", "char" ]
2008-09-16T18:05:18
2024-07-16T10:08:40
Landon Kuhn
false
CC BY-SA 4.0
87,648
1,785
79,061
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12953127
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/12953127/what-are-copy-elision-and-return-value-optimization
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
12,953,127
What are copy elision and return value optimization?
563
191,866
5
true
true
[ "c++", "optimization", "c++-faq", "return-value-optimization", "copy-elision" ]
2012-10-18T11:03:03
2023-06-08T09:59:40
Luchian Grigore
false
CC BY-SA 3.0
12,953,129
673,730
259,976
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
25789644
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/25789644/what-is-the-difference-between-using-a-makefile-and-cmake-to-compile-the-code
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
25,789,644
What is the difference between using a Makefile and CMake to compile the code?
560
326,110
3
true
true
[ "c++", "c", "makefile", "cmake" ]
2014-09-11T14:07:47
2022-08-15T00:48:40
rish
false
CC BY-SA 4.0
25,790,020
2,024,246
6,085
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
333889
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/333889/why-have-header-files-and-cpp-files
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
333,889
Why have header files and .cpp files?
554
364,277
9
true
true
[ "c++", "header-files" ]
2008-12-02T13:17:55
2020-12-23T05:58:08
Clueless
true
null
333,902
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
138600
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/138600/initializing-a-static-stdmapint-int-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
138,600
Initializing a static std::map<int, int> in C++
554
636,904
12
true
false
[ "c++", "stl", "stdmap" ]
2008-09-26T10:10:45
2025-05-09T12:23:17
Nithin
false
CC BY-SA 4.0
null
15,163
5,569
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
20516773
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/20516773/stdunique-lockstdmutex-or-stdlock-guardstdmutex
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
20,516,773
std::unique_lock<std::mutex> or std::lock_guard<std::mutex>?
552
300,283
7
true
true
[ "c++", "multithreading", "c++11", "mutual-exclusion", "stdmutex" ]
2013-12-11T10:35:04
2021-02-15T14:05:54
chmike
false
CC BY-SA 4.0
20,516,876
75,517
22,474
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2152986
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2152986/what-are-the-benefits-of-stddistance-over-subtracting-iterators
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,152,986
What are the benefits of std::distance over subtracting iterators?
552
477,831
9
true
true
[ "c++", "iterator", "std", "stdvector" ]
2010-01-28T07:40:40
2023-12-18T19:52:27
cairol
false
CC BY-SA 4.0
2,153,160
184,183
8,833
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
161053
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/161053/which-is-faster-stack-allocation-or-heap-allocation
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
161,053
Which is faster: Stack allocation or Heap allocation
551
145,477
24
true
true
[ "c++", "performance", "memory", "stack", "heap-memory" ]
2008-10-02T06:06:28
2022-12-06T20:51:26
Wavesonics
false
CC BY-SA 4.0
161,061
1,366
26,615
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
117293
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/117293/does-using-const-on-function-parameters-have-any-effect-why-does-it-not-affect
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
117,293
Does using const on function parameters have any effect? Why does it not affect the function signature?
550
430,552
29
true
true
[ "c++", "parameters", "constants", "function-declaration", "const-correctness" ]
2008-09-22T20:11:47
2026-03-02T10:25:49
Rob
false
CC BY-SA 4.0
117,308
9,236
79,298
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2386772
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2386772/what-is-the-difference-between-float-and-double
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,386,772
What is the difference between float and double?
547
1,245,267
14
true
true
[ "c++", "c", "floating-point", "precision", "ieee-754" ]
2010-03-05T12:48:32
2023-12-15T17:42:16
VaioIsBorn
false
CC BY-SA 4.0
2,386,882
281,619
7,941
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
137038
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/137038/how-do-you-get-assembler-output-from-c-c-source-in-gcc
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
137,038
How do you get assembler output from C/C++ source in GCC?
547
573,467
17
true
true
[ "c++", "c", "assembly", "gcc", "disassembly" ]
2008-09-26T00:10:21
2023-04-28T07:07:56
Doug T.
false
CC BY-SA 4.0
137,074
8,123
66,009
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4437527
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4437527/why-do-we-use-the-volatile-keyword
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,437,527
Why do we use the volatile keyword?
546
435,998
2
true
true
[ "c++", "volatile", "compiler-optimization" ]
2010-12-14T09:14:42
2024-08-22T11:06:38
Sarfaraz Nawaz
true
null
4,437,555
415,784
364,065
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2872543
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/2872543/printf-vs-cout-in-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
2,872,543
'printf' vs. 'cout' in C++
538
533,527
18
true
false
[ "c++", "printf", "iostream", "cout", "stdio" ]
2010-05-20T09:42:15
2025-07-02T13:59:45
hero
false
CC BY-SA 4.0
null
345,863
5,411
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1903954
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1903954/is-there-a-standard-sign-function-signum-sgn-in-c-c
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,903,954
Is there a standard sign function (signum, sgn) in C/C++?
538
616,935
21
true
true
[ "c++", "c", "math" ]
2009-12-14T22:27:15
2025-12-13T03:28:29
batty
false
CC BY-SA 2.5
4,609,795
53,602
7,926
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1563897
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/1563897/how-can-you-define-a-static-data-member-of-type-const-stdstring
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
1,563,897
How can you define a static data member of type const std::string?
538
513,012
11
true
true
[ "c++", "string", "class", "constants", "static-members" ]
2009-10-14T02:00:24
2023-10-12T10:37:00
lb.
false
CC BY-SA 4.0
1,563,906
122,398
5,794
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4269034
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4269034/what-is-the-meaning-of-prepended-double-colon
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,269,034
What is the meaning of prepended double colon "::"?
536
287,862
9
true
true
[ "c++", "namespaces", "scope-resolution", "global-namespace", "scope-resolution-operator" ]
2010-11-24T16:24:24
2023-09-09T13:37:38
rmbianchi
false
CC BY-SA 4.0
4,269,064
320,369
6,561
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
6264249
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/6264249/how-does-the-compilation-linking-process-work
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
6,264,249
How does the compilation/linking process work?
535
318,290
5
true
true
[ "c++", "linker", "c++-faq" ]
2011-06-07T11:04:33
2024-07-24T09:45:59
Tony The Lion
false
CC BY-SA 4.0
6,264,256
174,614
63,715
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
140061
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/140061/when-to-use-dynamic-vs-static-libraries
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
140,061
When to use dynamic vs. static libraries
535
338,369
20
true
true
[ "c++", "dll", "shared-libraries", "static-linking", "dynamic-linking" ]
2008-09-26T15:02:01
2023-12-17T12:06:52
Morten Christiansen
false
CC BY-SA 4.0
140,100
4,055
19,729
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5205491
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/5205491/whats-the-difference-between-stl-and-c-standard-library
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
5,205,491
What's the difference between "STL" and "C++ Standard Library"?
531
128,235
7
true
true
[ "c++", "stl", "std", "c++-faq" ]
2011-03-05T17:32:14
2021-01-25T12:05:05
Pieter
false
CC BY-SA 4.0
5,205,571
217,649
33,191
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4986673
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4986673/c11-rvalues-and-move-semantics-with-return-statement
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,986,673
C++11 rvalues and move semantics with return statement
531
146,102
6
true
true
[ "c++", "c++11", "move-semantics", "rvalue-reference", "c++-faq" ]
2011-02-13T20:28:46
2023-12-04T08:31:19
Tarantula
false
CC BY-SA 4.0
4,986,802
179,372
20,170
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4316727
question
stackoverflow
2026-08-03T00:25:15
null
null
null
null
null
https://stackoverflow.com/questions/4316727/why-can-you-return-a-stdunique-ptr-without-stdmove
58vR7T6SQUHfY2q4Q
bbYBHiDGauQ00rcme
4,316,727
Why can you return a std::unique_ptr without std::move?
531
296,962
7
true
true
[ "c++", "c++11", "unique-ptr", "move-semantics" ]
2010-11-30T17:44:37
2026-07-08T10:56:41
Praetorian
false
CC BY-SA 4.0
4,316,948
241,631
109,997
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null