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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10231349 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/10231349/are-the-days-of-passing-const-stdstring-as-a-parameter-over | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1282295/what-is-the-nullptr-keyword-and-why-is-it-better-than-null | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,282,295 | What is the nullptr keyword, and why is it better than NULL? | 697 | 435,183 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5605125/why-is-iostreameof-inside-a-loop-condition-i-e-while-stream-eof-cons | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 5,605,125 | Why is iostream::eof inside a loop condition (i.e. `while (!stream.eof())`) considered wrong? | 696 | 103,582 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2397984/undefined-unspecified-and-implementation-defined-behavior | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/17333/how-do-you-compare-float-and-double-while-accounting-for-precision-loss | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 17,333 | How do you compare float and double while accounting for precision loss? | 680 | 694,562 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/81870/is-it-possible-to-print-the-name-of-a-variables-type-in-standard-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 81,870 | Is it possible to print (the name of) a variable's type in standard C++? | 676 | 797,128 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 16,710,047 | usr/bin/ld: cannot find -l<nameOfTheLibrary> | 672 | 1,675,006 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1939953/how-to-find-if-a-given-key-exists-in-a-stdmap | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/997946/how-can-i-get-current-time-and-date-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 997,946 | How can I get current time and date in C++? | 671 | 1,820,355 | 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-03T04:01:45 | 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 | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 12,774,207 | Fastest way to check if a file exists using standard C++/C++11,14,17/C? | 662 | 1,061,941 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2342162/stdstring-formatting-like-sprintf | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 2,342,162 | std::string formatting like sprintf | 662 | 1,510,801 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/105014/does-the-mutable-keyword-have-any-purpose-other-than-allowing-a-data-member-to | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2896600/how-to-replace-all-occurrences-of-a-character-in-string | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1727881/how-to-use-the-pi-constant-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/185844/how-to-initialize-private-static-data-members-in-a-header-file | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/936687/how-do-i-declare-a-2d-array-in-c-using-new | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/18222926/what-are-the-advantages-of-list-initialization-using-curly-braces | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/257288/how-can-you-check-whether-a-templated-class-has-a-member-function | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 257,288 | How can you check whether a templated class has a member function? | 645 | 257,512 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/34732/how-do-i-list-the-symbols-in-a-so-file | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 34,732 | How do I list the symbols in a .so file | 638 | 639,953 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/573294/when-should-i-use-reinterpret-cast | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/184537/in-what-cases-do-i-use-malloc-and-or-new | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 184,537 | In what cases do I use malloc and/or new? | 630 | 399,737 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/318398/why-does-c-compilation-take-so-long | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/298708/debugging-with-command-line-parameters-in-visual-studio | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/213121/use-class-or-typename-for-template-parameters | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 213,121 | Use 'class' or 'typename' for template parameters? | 618 | 322,066 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/145270/calling-c-c-from-python | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 145,270 | Calling C/C++ from Python? | 613 | 579,521 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/20731/how-do-you-clear-a-stringstream-variable | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | 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 | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5029840/convert-char-to-int-in-c-and-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 5,029,840 | Convert char to int in C and C++ | 609 | 2,925,227 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/7724569/debug-vs-release-in-cmake | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 7,724,569 | Debug vs Release in CMake | 606 | 871,867 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5311515/gcc-fpic-option | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/3582001/what-are-the-main-purposes-of-stdforward-and-which-problems-does-it-solve | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 3,582,001 | What are the main purposes of std::forward and which problems does it solve? | 602 | 143,480 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/131803/unsigned-int-vs-size-t | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 131,803 | unsigned int vs. size_t | 602 | 308,959 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/6438086/iterator-invalidation-rules-for-c-containers | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 6,438,086 | Iterator invalidation rules for C++ containers | 594 | 191,383 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1135841/how-to-write-a-multi-line-string-literal | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/3065154/undefined-reference-to-vtable | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 3,065,154 | Undefined reference to vtable | 588 | 961,814 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/10422034/when-to-use-extern-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/4295432/typedef-function-pointer | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/28828957/how-to-convert-an-enum-to-a-string-in-modern-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/54120862/does-the-c-standard-allow-for-an-uninitialized-bool-to-crash-a-program | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/877523/error-request-for-member-in-which-is-of-non-class-type | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 877,523 | error: request for member '..' in '..' which is of non-class type | 572 | 717,226 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/150355/programmatically-find-the-number-of-cores-on-a-machine | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | 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 | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/75191/what-is-an-unsigned-char | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/12953127/what-are-copy-elision-and-return-value-optimization | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 12,953,127 | What are copy elision and return value optimization? | 563 | 191,868 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/25789644/what-is-the-difference-between-using-a-makefile-and-cmake-to-compile-the-code | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 25,789,644 | What is the difference between using a Makefile and CMake to compile the code? | 560 | 326,113 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/333889/why-have-header-files-and-cpp-files | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/138600/initializing-a-static-stdmapint-int-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 138,600 | Initializing a static std::map<int, int> in C++ | 554 | 636,905 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/20516773/stdunique-lockstdmutex-or-stdlock-guardstdmutex | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2152986/what-are-the-benefits-of-stddistance-over-subtracting-iterators | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/161053/which-is-faster-stack-allocation-or-heap-allocation | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/117293/does-using-const-on-function-parameters-have-any-effect-why-does-it-not-affect | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2386772/what-is-the-difference-between-float-and-double | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/137038/how-do-you-get-assembler-output-from-c-c-source-in-gcc | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/4437527/why-do-we-use-the-volatile-keyword | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 4,437,527 | Why do we use the volatile keyword? | 546 | 435,999 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2872543/printf-vs-cout-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 2,872,543 | 'printf' vs. 'cout' in C++ | 538 | 533,528 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1903954/is-there-a-standard-sign-function-signum-sgn-in-c-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1563897/how-can-you-define-a-static-data-member-of-type-const-stdstring | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/4269034/what-is-the-meaning-of-prepended-double-colon | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/6264249/how-does-the-compilation-linking-process-work | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 6,264,249 | How does the compilation/linking process work? | 535 | 318,291 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/140061/when-to-use-dynamic-vs-static-libraries | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 140,061 | When to use dynamic vs. static libraries | 535 | 338,372 | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5205491/whats-the-difference-between-stl-and-c-standard-library | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/4986673/c11-rvalues-and-move-semantics-with-return-statement | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/4316727/why-can-you-return-a-stdunique-ptr-without-stdmove | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 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 |
2321511 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2321511/what-is-meant-by-resource-acquisition-is-initialization-raii | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 2,321,511 | What is meant by Resource Acquisition is Initialization (RAII)? | 531 | 219,107 | 11 | true | false | [
"c++",
"raii"
] | 2010-02-23T20:35:58 | 2025-12-22T15:46:31 | John | false | CC BY-SA 3.0 | null | 279,826 | 5,307 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
222557 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/222557/what-uses-are-there-for-placement-new | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 222,557 | What uses are there for "placement new"? | 530 | 262,932 | 26 | true | true | [
"c++",
"memory-management",
"new-operator",
"placement-new"
] | 2008-10-21T16:34:52 | 2025-02-01T17:32:15 | Head Geek | false | CC BY-SA 4.0 | 222,578 | 12,193 | 40,316 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5973427 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5973427/error-passing-const-xxx-as-this-argument-of-member-function-discards-qualifie | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 5,973,427 | error: passing const xxx as 'this' argument of member function discards qualifiers | 527 | 555,645 | 4 | true | true | [
"c++",
"member-functions",
"const-correctness",
"stdset",
"function-qualifier"
] | 2011-05-12T04:52:56 | 2023-10-08T16:08:45 | JASON | false | CC BY-SA 4.0 | 5,973,485 | 670,631 | 7,497 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
19470873 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/19470873/why-does-gcc-generate-15-20-faster-code-if-i-optimize-for-size-instead-of-speed | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 19,470,873 | Why does GCC generate 15-20% faster code if I optimize for size instead of speed? | 522 | 127,190 | 6 | true | true | [
"c++",
"performance",
"gcc",
"x86-64",
"compiler-optimization"
] | 2013-10-19T20:36:16 | 2019-11-27T04:49:59 | Ali | false | CC BY-SA 4.0 | 19,570,226 | 341,970 | 58,999 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
26281979 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/26281979/how-do-you-loop-through-a-stdmap | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 26,281,979 | How do you loop through a std::map? | 518 | 1,066,121 | 8 | true | true | [
"c++",
"for-loop",
"iterator",
"stdmap",
"range-based-loop"
] | 2014-10-09T15:12:09 | 2024-09-10T08:33:48 | NoName | false | CC BY-SA 4.0 | 26,282,004 | 2,619,038 | 10,484 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
4810664 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/4810664/how-do-i-use-arrays-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 4,810,664 | How do I use arrays in C++? | 517 | 145,694 | 5 | true | true | [
"c++",
"arrays",
"pointers",
"multidimensional-array",
"c++-faq"
] | 2011-01-26T22:14:35 | 2024-02-26T20:54:00 | fredoverflow | false | CC BY-SA 4.0 | 4,810,668 | 252,000 | 265,196 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
92859 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/92859/what-are-the-differences-between-struct-and-class-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 92,859 | What are the differences between struct and class in C++? | 517 | 412,911 | 29 | true | true | [
"c++",
"oop",
"class",
"struct",
"c++-faq"
] | 2008-09-18T14:09:58 | 2022-09-23T09:20:20 | palm3D | false | CC BY-SA 3.0 | 999,810 | 2,686 | 8,370 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
9158894 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/9158894/differences-between-c-string-and-compare | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 9,158,894 | Differences between C++ string == and compare()? | 513 | 930,757 | 9 | true | true | [
"c++",
"string"
] | 2012-02-06T10:44:00 | 2025-01-01T19:40:15 | Klaim | false | CC BY-SA 3.0 | 9,159,670 | 2,368 | 70,447 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
8114276 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/8114276/how-do-i-pass-a-unique-ptr-argument-to-a-constructor-or-a-function | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 8,114,276 | How do I pass a unique_ptr argument to a constructor or a function? | 512 | 278,502 | 7 | true | true | [
"c++",
"arguments",
"c++11",
"unique-ptr"
] | 2011-11-13T19:58:49 | 2021-04-23T21:03:43 | codablank1 | false | CC BY-SA 3.0 | 8,114,913 | 993,743 | 6,285 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1127396 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1127396/can-a-struct-have-a-constructor-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,127,396 | Can a struct have a constructor in C++? | 512 | 936,341 | 17 | true | false | [
"c++",
"struct",
"constructor"
] | 2009-07-14T19:12:09 | 2023-09-10T11:34:16 | Jay | 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 |
1993390 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1993390/static-linking-vs-dynamic-linking | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,993,390 | Static linking vs dynamic linking | 510 | 340,919 | 16 | true | true | [
"c++",
"c",
"performance",
"static-linking",
"dynamic-linking"
] | 2010-01-03T00:06:12 | 2025-05-21T14:59:30 | Eloff | false | CC BY-SA 3.0 | 1,993,407 | 152,580 | 22,018 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1461432 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1461432/what-is-array-to-pointer-conversion-aka-decay | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,461,432 | What is array-to-pointer conversion aka. decay? | 508 | 122,464 | 11 | true | true | [
"c++",
"c",
"arrays",
"pointers"
] | 2009-09-22T17:24:43 | 2023-09-25T23:15:21 | Vamsi | false | CC BY-SA 4.0 | 1,461,449 | 177,303 | 6,073 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
45723819 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/45723819/what-is-a-span-and-when-should-i-use-one | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 45,723,819 | What is a "span" and when should I use one? | 503 | 244,135 | 5 | true | true | [
"c++",
"c++20",
"c++-faq",
"cpp-core-guidelines",
"std-span"
] | 2017-08-16T22:15:05 | 2025-11-20T22:54:58 | einpoklum | false | CC BY-SA 4.0 | 45,723,820 | 1,593,077 | 140,800 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
13346879 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/13346879/const-vs-constexpr-on-variables | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 13,346,879 | const vs constexpr on variables | 501 | 265,915 | 6 | true | true | [
"c++",
"variables",
"c++11",
"constants",
"constexpr"
] | 2012-11-12T15:50:13 | 2022-07-24T04:13:35 | fredoverflow | true | null | 13,347,355 | 252,000 | 265,196 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
625799 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/625799/resolve-build-errors-due-to-circular-dependency-amongst-classes | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 625,799 | Resolve build errors due to circular dependency amongst classes | 495 | 336,888 | 12 | true | true | [
"c++",
"compiler-errors",
"circular-dependency",
"c++-faq"
] | 2009-03-09T10:57:28 | 2025-08-22T05:23:53 | Sandeep Datta | false | CC BY-SA 3.0 | 628,079 | 39,648 | 29,614 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
409348 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/409348/iteration-over-stdvector-unsigned-vs-signed-index-variable | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 409,348 | Iteration over std::vector: unsigned vs signed index variable | 493 | 870,436 | 18 | true | true | [
"c++",
"stl",
"unsigned",
"signed"
] | 2009-01-03T16:52:24 | 2022-12-29T00:35:23 | Yuval Adam | false | CC BY-SA 4.0 | 409,396 | 24,545 | 166,176 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
12717138 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/12717138/what-is-linux-s-native-gui-api | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 12,717,138 | What is Linux’s native GUI API? | 491 | 143,938 | 11 | true | true | [
"c++",
"c",
"linux",
"user-interface"
] | 2012-10-03T21:23:50 | 2021-01-01T20:02:21 | DavidColson | false | CC BY-SA 4.0 | 12,717,284 | 906,367 | 8,637 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
7352099 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/7352099/stdstring-to-char | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 7,352,099 | std::string to char* | 491 | 1,308,625 | 18 | true | true | [
"c++",
"string",
"char"
] | 2011-09-08T17:25:22 | 2024-02-19T14:39:21 | user1598585 | true | null | 7,352,131 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2923272 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2923272/how-to-convert-vector-to-array | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 2,923,272 | How to convert vector to array | 486 | 561,505 | 9 | true | true | [
"c++",
"arrays",
"stdvector"
] | 2010-05-27T17:14:40 | 2026-04-22T07:37:20 | ganuke | false | CC BY-SA 4.0 | 2,923,290 | 327,021 | 5,195 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1701067 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1701067/how-to-check-that-an-element-is-in-a-stdset | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,701,067 | How to check that an element is in a std::set? | 486 | 595,314 | 12 | true | true | [
"c++",
"stl",
"set",
"contains"
] | 2009-11-09T13:46:08 | 2023-05-04T20:54:12 | fulmicoton | false | CC BY-SA 3.0 | 1,701,083 | 446,497 | 16,118 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
53849 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/53849/how-do-i-tokenize-a-string-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 53,849 | How do I tokenize a string in C++? | 485 | 679,585 | 38 | true | true | [
"c++",
"string",
"split",
"tokenize"
] | 2008-09-10T12:10:25 | 2025-03-02T08:22:14 | Bill the Lizard | true | null | 53,863 | 1,288 | 407,925 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1143936 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1143936/pragma-once-vs-include-guards | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,143,936 | #pragma once vs include guards? | 483 | 398,088 | 13 | true | true | [
"c++"
] | 2009-07-17T15:18:03 | 2023-05-16T20:37:43 | Matt Price | true | null | 1,143,958 | 852 | 45,803 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
21558 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/21558/in-c-what-is-a-virtual-base-class | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 21,558 | In C++, what is a virtual base class? | 483 | 374,693 | 11 | true | true | [
"c++",
"virtual-inheritance"
] | 2008-08-22T01:13:15 | 2023-06-15T11:07:59 | popopome | false | CC BY-SA 3.0 | 21,607 | 1,556 | 12,540 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
10087113 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/10087113/how-many-levels-of-pointers-can-we-have | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 10,087,113 | How many levels of pointers can we have? | 480 | 57,322 | 15 | true | false | [
"c++",
"c",
"pointers",
"language-lawyer",
"limit"
] | 2012-04-10T10:34:17 | 2025-07-04T06:03:22 | Parag | false | CC BY-SA 4.0 | null | 1,297,267 | 8,036 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
31816095 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/31816095/why-should-i-not-include-bits-stdc-h | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 31,816,095 | Why should I not #include <bits/stdc++.h>? | 480 | 110,907 | 10 | true | true | [
"c++",
"portability",
"turbo-c++",
"c++-faq",
"implementation-defined-behavior"
] | 2015-08-04T17:57:15 | 2024-10-07T09:27:25 | Lightness Races in Orbit | false | CC BY-SA 4.0 | 31,816,096 | 560,648 | 387,381 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
922360 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/922360/why-cant-i-make-a-vector-of-references | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 922,360 | Why can't I make a vector of references? | 476 | 296,010 | 11 | true | false | [
"c++",
"reference",
"stl",
"stdvector",
"container-data-type"
] | 2009-05-28T18:04:09 | 2024-02-26T22:29:32 | Colen | false | CC BY-SA 4.0 | null | 13,500 | 14,098 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1887097 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1887097/why-arent-variable-length-arrays-part-of-the-c-standard | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,887,097 | Why aren't variable-length arrays part of the C++ standard? | 474 | 225,777 | 10 | true | true | [
"c++",
"arrays",
"language-design",
"variable-length-array",
"variable-length"
] | 2009-12-11T10:15:40 | 2023-09-26T00:10:16 | Andreas Brinck | false | CC BY-SA 4.0 | 1,887,178 | 125,672 | 52,957 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1358400 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/1358400/what-is-external-linkage-and-internal-linkage | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 1,358,400 | What is external linkage and internal linkage? | 474 | 220,769 | 9 | true | true | [
"c++",
"c++-faq"
] | 2009-08-31T17:16:23 | 2022-12-24T21:00:21 | rkb | false | CC BY-SA 3.0 | 1,358,622 | 138,832 | 11,261 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
162941 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/162941/why-use-pointers | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 162,941 | Why use pointers? | 472 | 406,673 | 17 | true | false | [
"c++",
"c",
"pointers"
] | 2008-10-02T15:19:20 | 2020-11-19T20:46:53 | Anonymous | true | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
11004273 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/11004273/what-is-stdpromise | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 11,004,273 | What is std::promise? | 470 | 138,784 | 9 | true | true | [
"c++",
"multithreading",
"c++11",
"promise",
"standard-library"
] | 2012-06-12T20:23:35 | 2020-11-10T13:34:43 | Kerrek SB | false | CC BY-SA 4.0 | 11,020,645 | 596,781 | 481,774 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5727 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5727/what-are-the-barriers-to-understanding-pointers-and-what-can-be-done-to-overcome | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 5,727 | What are the barriers to understanding pointers and what can be done to overcome them? | 468 | 94,455 | 28 | true | true | [
"c++",
"c",
"pointers"
] | 2008-08-08T06:17:51 | 2024-01-09T11:13:24 | David McGraw | true | null | 5,754 | 568 | 5,187 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
7058339 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/7058339/when-should-i-use-pointers-instead-of-references-in-api-design | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 7,058,339 | When should I use pointers instead of references in API-design? | 467 | 263,824 | 17 | true | true | [
"c++",
"pointers",
"reference",
"api-design"
] | 2011-08-14T17:08:30 | 2023-09-27T20:05:21 | connec | false | CC BY-SA 4.0 | 7,058,373 | 384,638 | 7,481 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5508110 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 5,508,110 | Why is this program erroneously rejected by three C++ compilers? | 465 | 390,077 | 31 | true | true | [
"c++",
"visual-c++",
"compiler-errors",
"clang"
] | 2011-04-01T00:50:02 | 2013-07-02T18:08:22 | James McNellis | false | CC BY-SA 3.0 | 5,508,168 | 151,292 | 357,551 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2053029 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2053029/how-exactly-does-attribute-constructor-work | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 2,053,029 | How exactly does __attribute__((constructor)) work? | 461 | 213,608 | 5 | true | true | [
"c++",
"c",
"objective-c",
"gcc",
"compiler-extension"
] | 2010-01-12T22:43:04 | 2024-11-27T06:38:55 | Casebash | false | CC BY-SA 4.0 | 2,053,078 | 165,495 | 120,251 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2298242 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/2298242/callback-functions-in-c | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 2,298,242 | Callback functions in C++ | 460 | 715,241 | 14 | true | true | [
"c++",
"callback",
"function-pointers"
] | 2010-02-19T17:16:47 | 2025-09-22T07:04:22 | cpx | false | CC BY-SA 4.0 | 28,689,902 | 187,543 | 17,667 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
554063 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/554063/how-do-i-print-a-double-value-with-full-precision-using-cout | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 554,063 | How do I print a double value with full precision using cout? | 460 | 747,195 | 16 | true | true | [
"c++",
"floating-point",
"precision",
"iostream",
"cout"
] | 2009-02-16T18:15:18 | 2025-03-10T13:48:08 | user6212 | false | CC BY-SA 4.0 | 65,329,803 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
8767166 | question | stackoverflow | 2026-08-03T04:01:45 | null | null | null | null | null | https://stackoverflow.com/questions/8767166/passing-a-2d-array-to-a-c-function | lgjiEegKajFN5MBO4 | QtRCmyYmUwEdBhl8K | 8,767,166 | Passing a 2D array to a C++ function | 459 | 1,104,219 | 19 | true | true | [
"c++",
"arrays",
"pointers",
"multidimensional-array"
] | 2012-01-07T03:40:31 | 2025-11-02T12:43:45 | RogerDarwin | false | CC BY-SA 4.0 | 8,767,247 | 1,135,511 | 4,563 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.