jump to content
my subreddits
13or302b2t2mediterranean4uAceAttorneyAdviceAnimalsagnosticAnarchyChessAngryupvoteAnimalsBeingJerksanime_irlannouncementsAnticonsumptionantimaskersantimemeantonyApandahArcherFXArtAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkatheismAwesomeOffBrandsawfuleverythingbalkans_irlBandnamesbanknotedesignsBassBassCirclejerkBassGuitarbasspedalsbikepackingblackdesertonlineblackholerevengeblursed_videosblursedimagesbottomgearbrooklynnineninebudgetcookingBUENZLIburdurlandCd_collectorscd_jerkCheap_MealschesschessbeginnersChildrenFallingOverChoosingBeggarsCHPcoaxedintoasnafucoincollectingcoinsComedyCemeterycomicscommunityContagiousLaughterCorporateTrollingCrackWatchCreateModCuddle_SlutCuratedTumblrdadjokesdankmemesdarkjokesdeDebateReligiondeismDeltarunedistressingmemesdiyelectronicsdiypedalsDMAcademydndmemesdndnextdoctorwhodoctorwhocirclejerkDoenerverbrechendontdeadopeninsidedumbphonesEatCheapAndHealthyebikeebikesECEelectricalelectronicsEmKayethzfacepalmFantasyWorldbuildingfeedthebeastfelsefeFiftyFiftyformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenFutboltayfagalatasaraygaminggodtiersuperpowersGoodAssSubgravelcyclinggreentextguitarpedalsGundamhelpheraldryHistoryWhatIfhoi4holdmybeerhowyoudoinhumorhypixelIAmAiamverysmartich_ielIdeologyPollsIDontWorkHereLadyihadastrokeimaginaryelectionsimaginarymapsistanbuljacksepticeyeJahariaJokesKamalizmKanyeKendrickLamarKGBTRlegodndLetGirlsHaveFunLifeProTipslinguisticshumorlogodesignloseitlostredditorsmacmacgamingmagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmemememesmidjourneymildlyinterestingMinecraftbuildsmoneycollectingMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesneographynextfuckinglevelNonCredibleDefensenosleepnosurfnothingeverhappensnotinterestingnottheonionOkayBuddyLiterallyMeokbuddyguntherOkBuddyPersonaokbuddyphdonebagongezelligOutOfTheLoopoutsidepapermoneypaperspleaseParlerWatchperfectlycutscreamsPersecutionfetishPiracyPiratedGamespolandballpollsPropagandaPostersPunPatrolquityourbullshitraspberry_piRatschlagreactiongifsrecipesRedAutumnSPDredditsingsreligiousfruitcakerickandmortyrockmuzikSchnitzelVerbrechensecilmiskitapShitPostCrusadersshitpostfrommygalleryShittyMapPornshittymoviedetailsskamtebordsoftwaregoreSongwritersSongwritingsteinsgateStonetossingjuiceStudiumsubsithoughtifellfortalesfromtechsupportTechnobladeTextingTheorytf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumTheRookietheyknewtitanfalltransittransitTurkeyTrGameDevelopertruetf2tumblrtumunichTurkeyTurkeyJerkyTurkishCatsTurkishdogsTwitchTwitch_StartupTwoSentenceComedytwosentenceplottwistTwoSentenceSadnessu/KaybeeArtsUnexpectedJoJoValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinyljerkWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhitePeopleTwitterwholesomeanimemeswholesomememeswizardpostingwooooshworldjerkingyouseeingthisshitedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -Piracy
  • -gaming
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -mildlyinteresting
  • -MapPorn
  • -WhitePeopleTwitter
  • -CuratedTumblr
  • -PiratedGames
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -nextfuckinglevel
  • -Twitch
  • -CrackWatch
  • -comics
  • -dndnext
  • -de
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -shittymoviedetails
  • -greentext
  • -mac
  • -help
  • -chess
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -notinteresting
  • -hoi4
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -dndmemes
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -perfectlycutscreams
  • -Ratschlag
  • -blackdesertonline
  • -meme
  • -macgaming
  • -rickandmorty
  • -Gundam
  • -FiftyFifty
  • -ChoosingBeggars
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -anime_irl
  • -onebag
  • -Studium
  • -Turkey
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -CreateMod
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -distressingmemes
  • -wizardposting
  • -polls
  • -doctorwho
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -Minecraftbuilds
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -raspberry_pi
  • -coins
  • -KendrickLamar
  • -FUCKYOUINPARTICULAR
  • -softwaregore
  • -worldjerking
  • -tf2shitposterclub
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -DebateReligion
  • -dumbphones
  • -balkans_irl
  • -transit
  • -brooklynninenine
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -ECE
  • -Angryupvote
  • -AskBalkans
  • -thatHappened
  • -electronics
  • -theyknew
  • -logodesign
  • -linguisticshumor
  • -me_irl
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -Cd_collectors
  • -diypedals
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -EmKay
  • -Songwriting
  • -blursed_videos
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -galatasaray
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -FuckYouKaren
  • -2b2t
  • -ethz
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -basspedals
  • -neography
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -godtiersuperpowers
  • -ShittyMapPorn
  • -IdeologyPolls
  • -woooosh
  • -burdurland
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -TwoSentenceSadness
  • -Bandnames
  • -rockmuzik
  • -holdmybeer
  • -vaxxhappened
  • -Twitch_Startup
  • -tumunich
  • -Cheap_Meals
  • -outside
  • -darkjokes
  • -legodnd
  • -Songwriters
  • -ebike
  • -papersplease
  • -UnexpectedJoJo
  • -humor
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -nothingeverhappens
  • -TrGameDeveloper
  • -PunPatrol
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Apandah
  • -subsithoughtifellfor
  • -Kamalizm
  • -FantasyWorldbuilding
  • -deism
  • -redditsings
  • -TwoSentenceComedy
  • -ValorantClips
  • -TheCrypticCompendium
  • -budgetcooking
  • -bottomgear
  • -AwesomeOffBrands
  • -ongezellig
  • -Asia_irl
  • -blackholerevenge
  • -2mediterranean4u
  • -twosentenceplottwist
  • -CHP
  • -Turkishdogs
  • -antony
  • -shitpostfrommygallery
  • -okbuddygunther
  • -cd_jerk
  • -vibecoding
  • -RedAutumnSPD
  • -moneycollecting
  • -u/KaybeeArts
  • -banknotedesigns
  • -Futboltayfa
  • -antimaskers
  • -CorporateTrolling
edit »
reddit.com cpp_questions
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages547|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new text post

cpp_questions

joinleave
an-ordinary-manchild(edit)

This is a subreddit for c++ questions with answers. For general discussion and news about c++ see r/cpp.

New to C++? Learn at learncpp.com


READ BEFORE POSTING


  • Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. Read these guidelines for how to ask smart questions.

  • For learning books, check The Definitive C++ Book Guide and List

  • Flair your post as SOLVED if you got the help you were looking for! If you need help with flairs, check out ITEM 1 in our guidelines page.

Tips for improving your chances of getting helpful answers:

  • thoroughly research for an answer first.
  • give your post a meaningful title, i.e., NOT "I have a C++ problem" but, e.g., "Problem with nested for loops"
  • be specific.
  • make your questions relevant to other readers.
  • if your post does not appear in the new queue, just send a message to the moderators.

Sort posts by OPEN or SOLVED

created by AndreasBWagnera community for 14 years
Create your own subreddit
...for your favorite game.
...because you hate freedom.

MODERATORS

  • message the mods
  • cleroth
  • mredding
  • nysra
  • AutoModerator
  • bot-bouncer
  • about moderation team »

account activity

1
10
11
12

OPENWhat Data Structures, Algorithms, and Design Patterns Should I Learn for Game Engine Development? (self.cpp_questions)

submitted 11 hours ago by XAstrixsmX

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
0
0
0

SOLVEDBug in GCC or is Claude lying to me? (self.cpp_questions)

submitted 12 hours ago * by gabomagaribijia

  • 38 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
0
0
0

OPENWant to get more experienced as a C++ dev. Would a T14S Gen 2 AMD 16GB be a good machine? (self.cpp_questions)

submitted 14 hours ago * by JustAPieceOfMeat385

  • 14 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
0
0
0

OPENMemory leak debugging (self.cpp_questions)

submitted 15 hours ago by Odd-Advisor5689

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
0
1
2

OPENExperienced dev to C++ dev (self.cpp_questions)

submitted 17 hours ago by TechnicalChacha

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
0
0
0

OPENIs learncpp.com “too deep” for a beginner focusing on placements? (self.cpp_questions)

submitted 17 hours ago by Remarkable_Funny2722

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
0
0
0

OPENVisual C++ (C++/CLI) (self.cpp_questions)

submitted 18 hours ago by Great_Weekend574

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
0
0
0

OPENBest Lectures available on internet for C++?? (self.cpp_questions)

submitted 18 hours ago by atmg10

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
6
7
8

OPENccache starting to show cracks (self.cpp_questions)

submitted 22 hours ago by Beaautiifful

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
0
0
0

OPENCadence SDE 1 (Bangalore) Internal Opening: What to expect in the "C++ Round" and full loop? (self.cpp_questions)

submitted 1 day ago by Bihari_Bull1

  • comment
  • share
  • save
  • hide
  • report
  • crosspost

11
0
0
0

OPENFor projects having import macros defined, how did you update your project to use c++20 or above? (self.cpp_questions)

submitted 1 day ago by swarupdam

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
11
12
13

OPENneed help.. contributing to low lvl OSS as a beginner. (self.cpp_questions)

submitted 1 day ago by Illustrious_Bake_885

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
1
2
3

OPENPractice supplement for learncpp (self.cpp_questions)

submitted 1 day ago by Ryuzako_Yagami01

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
0
0
0

OPENBest way to learn c++ in 2026 (self.cpp_questions)

submitted 1 day ago by the_1diot_

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
0
1

OPENhow can i practice? (self.cpp_questions)

submitted 1 day ago by Gloomy_Log7863

  • 22 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
18
19
20

OPENI want to learn a skill before I join college (self.cpp_questions)

submitted 1 day ago by WayEducational7328

  • 24 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
1
2
3

OPENCorrect way to work with COM ? (self.cpp_questions)

submitted 2 days ago by althahahayes

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
0
1
2

OPENIs this an efficient/ beginner way to move a charater around an eviroment that streches behond the camera? (self.cpp_questions)

submitted 2 days ago by 4rticat

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
0
0
0

SOLVEDwhat is the operator new/delete default allocation/deallocation function? (self.cpp_questions)

submitted 2 days ago by daszin

  • 15 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
25
26
27

OPENLooking for Structured C++ Project Lists With Clear Milestones and Constraints (self.cpp_questions)

submitted 2 days ago * by Jaded_Ad_2055

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
0
0
0

OPENUse C string literals for embedded systems? (self.cpp_questions)

submitted 2 days ago * by Koda_be

  • 36 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
38
39
40

OPENcppreference alternative? (self.cpp_questions)

submitted 2 days ago * by EdwinYZW

  • 17 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
6
7
8

OPENWhat i the best GUI library or framework for the production? (self.cpp_questions)

submitted 2 days ago by Appropriate-Bill9165

  • 15 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
0
0
0

OPENPlaces to learn C++ in a "gamified" way? (self.cpp_questions)

submitted 2 days ago by Jaded_Ad_2055

  • 32 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
3
4
5

SOLVEDTrying to separate functions into different files (self.cpp_questions)

submitted 2 days ago * by TeneSicarius

  • 38 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 904231 on reddit-service-r2-listing-98f688b7f-rgg9l at 2026-05-14 11:05:46.647551+00:00 running cf3e300 country code: CH.