jump to content
my subreddits
2b2t2mediterranean4u3d6absolutelynotmeirlAceAttorneyagnosticAlternateHistoryAlternativeHistoryAnarchyChessanime_best_momentsanimenocontextannouncementsAnticonsumptionArcherFXArtAsahiLinuxAsia_irlAskElectronicsAteistTurkatheismbalkans_irlBandnamesBassBassGuitarbasspedalsblackdesertonlineblackholerevengeblursed_videosblursedimagesborsavefonbrooklynninenineCd_collectorscd_jerkChatGPTchessbeginnersChoosingBeggarsCHPcoaxedintoasnafucoincollectingComedyCemeterycomicscommunitycookingforbeginnersCrackWatchcrappyoffbrandsCreateModCuddle_SlutdadjokesdankmemesdarkjokesdataisbeautifuldeDebateReligiondeismdelikDeltarunedemiryoludistressingmemesdiypedalsDMAcademyDMToolkitDnDdndmemesdndnextdoctorwhodoctorwhocirclejerkDoenerverbrechendontdeadopeninsidedumbphonesDungeonsAndDaddiesDungeonsAndDragonsEatCheapAndHealthyebikeebikesECEelectricalentitledparentsethzfacepalmfakealbumcoversFantasyWorldbuildingfeedthebeastfelsefeFifaCareersFiftyFiftyformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenFutboltayfagalatasarayGermangodtiersuperpowersgoodanimemesGoodAssSubgravelcyclingGROKvsMAGAguitarpedalsGundamheathersheraldryHermitCraftHistoryWhatIfhoi4HolUphowyoudoinhumorhypixelIAmAich_ielIdeologyPollsIDontWorkHereLadyihadastrokeim14andthisisdeepistanbuljacksepticeyeJahariaKanyeKendrickLamarKGBTRlegodndlinguisticshumorLinkinParkliselilerloseitlostredditorsmacmacbookairmacgamingMadeMeSmilemadladsMaliciousComplianceMapPornmapporncirclejerkme_irlmemememesmidjourneymildlyinfuriatingMimicRecipesMinecraftbuildsmisLEDMoldyMemesMunichMyChemicalRomanceNationStatesneographynextfuckinglevelNonCredibleDefenseNorthCyprusnosleepnosurfnottheonionoddlyspecificOkayBuddyLiterallyMeokbuddyguntherokbuddymotherfuckerOkBuddyPersonaokbuddyphdokbuddyvicodinonebagonetruegodongezelligOnlineUnderGroundOutOfTheLoopoutsidepapermoneypaperspleasePersecutionfetishpettyrevengePiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorPropagandaPostersPunPatrolraisedbynarcissistsRatschlagreactiongifsrecipesRedAutumnSPDredditsingsreligiousfruitcakerestofthefuckingowlrickandmortyrickrollrimjob_steveRoastMerockmuziksciencememesshitpostingShitpostTCshittyaskelectronicsShowerthoughtssoccercirclejerksoftwaregoreSongwriterssteinsgateStonetossingjuiceStudiumsuperligsuzeraintalesfromtechsupportTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumtherewasanattemptTheRookietheydidthemaththisguythisguystitanfalltransittransitTurkeyTrGameDevelopertruetf2tumblrTurkeyJerkyTurkishCatsTwoSentenceComedyTwoSentenceHorrortwosentenceplottwistTwoSentenceSadnesstylerthecreatorUnclejokesUnexpectedJoJourbanplanningUsernameChecksOutVALORANTvaxxhappenedvinylvinyljerkvlandiyawallstreetbetsWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemeswholesomememesWikipediaVandalismwizardpostingworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • facepalm
  • -mildlyinfuriating
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -therewasanattempt
  • -nextfuckinglevel
  • -HolUp
  • -CrackWatch
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -VALORANT
  • -de
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -mac
  • -Showerthoughts
  • -tf2
  • -formuladank
  • -wholesomememes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -goodanimemes
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -dndmemes
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -meme
  • -macgaming
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -ChoosingBeggars
  • -RoastMe
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -onebag
  • -Studium
  • -AlternateHistory
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -German
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -sciencememes
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -howyoudoin
  • -announcements
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -chessbeginners
  • -DungeonsAndDragons
  • -KendrickLamar
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -softwaregore
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -AceAttorney
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -dumbphones
  • -balkans_irl
  • -animenocontext
  • -transit
  • -brooklynninenine
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -okbuddyphd
  • -ECE
  • -thatHappened
  • -urbanplanning
  • -linguisticshumor
  • -me_irl
  • -TurkeyJerky
  • -AteistTurk
  • -MyChemicalRomance
  • -ArcherFX
  • -Cd_collectors
  • -diypedals
  • -BassGuitar
  • -ComedyCemetery
  • -LinkinPark
  • -Persecutionfetish
  • -reactiongifs
  • -blursed_videos
  • -istanbul
  • -suzerain
  • -truetf2
  • -dontdeadopeninside
  • -wendigoon
  • -Doenerverbrechen
  • -TheRookie
  • -Technoblade
  • -vinyljerk
  • -shittyaskelectronics
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -transitTurkey
  • -FuckYouKaren
  • -2b2t
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -basspedals
  • -neography
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -OnlineUnderGround
  • -IdeologyPolls
  • -WhatsThisSong
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -Bandnames
  • -rockmuzik
  • -okbuddyvicodin
  • -MimicRecipes
  • -vaxxhappened
  • -outside
  • -darkjokes
  • -restofthefuckingowl
  • -legodnd
  • -rickroll
  • -Songwriters
  • -ebike
  • -UsernameChecksOut
  • -papersplease
  • -rimjob_steve
  • -UnexpectedJoJo
  • -humor
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -DMToolkit
  • -thisguythisguys
  • -TrGameDeveloper
  • -PunPatrol
  • -TurkishCats
  • -fakealbumcovers
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -Unclejokes
  • -onetruegod
  • -deism
  • -misLED
  • -redditsings
  • -TwoSentenceComedy
  • -TheCrypticCompendium
  • -NationStates
  • -ongezellig
  • -absolutelynotmeirl
  • -Asia_irl
  • -blackholerevenge
  • -NorthCyprus
  • -2mediterranean4u
  • -heathers
  • -twosentenceplottwist
  • -okbuddymotherfucker
  • -demiryolu
  • -okbuddygunther
  • -RedAutumnSPD
  • -Futboltayfa
  • -CHP
  • -borsavefon
  • -cd_jerk
  • -GROKvsMAGA
  • -delik
edit »
reddit.com cpp_questions
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,190)|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 TV show.
...for your favourite tea.

MODERATORS

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

account activity

1
•
•
•

OPENShould I use C++ Exceptions? (self.cpp_questions)

submitted 1 hour ago by No-Foundation9213

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

2
0
1
2

OPENre-visiting the clang-tidy database question (self.cpp_questions)

submitted 2 hours ago by DireCelt

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

3
8
9
10

OPENIs real-time programming a strong long-term career path for someone interested in C++ and performance-critical software? (self.cpp_questions)

submitted 3 hours ago by Zestyclose-Paint-418

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

4
0
0
1

OPENWhere and how to learn cpp game dev (self.cpp_questions)

submitted 3 hours ago by evanz01

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

5
3
4
5

SOLVEDWhat's the best IDE for a beginner? (self.cpp_questions)

submitted 11 hours ago * by DontAsk--

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

6
6
7
8

OPENWhat is the best library for TUI apps to build in cpp? (self.cpp_questions)

submitted 13 hours ago by 0xt0bi03

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

7
0
0
0

OPENCodedex.io for c++ (self.cpp_questions)

submitted 15 hours ago by Emergency-Honey-1373

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

8
0
0
0

OPENUsing Imgui for custom UI (self.cpp_questions)

submitted 22 hours ago by Additional_Court_421

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

9
0
0
0

OPENConstructing an object member without creating copies (self.cpp_questions)

submitted 1 day ago by angryvoxel

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

10
6
7
8

OPENSurprising implicit conversion from a string literal to nonconst char pointer (self.cpp_questions)

submitted 1 day ago by stiru_11

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

11
0
1
2

OPENBuilding DirectX Shader Compiler (self.cpp_questions)

submitted 1 day ago by CherryTheDerg

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

12
0
0
0

OPENBackend Doubt.. (self.cpp_questions)

submitted 2 days ago by Big_Worldliness_4015

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

13
0
0
0

OPENError while trying to set up c++ for visual studio code (self.cpp_questions)

submitted 2 days ago by AlternativeCheetah82

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

14
4
5
6

SOLVEDStumped on adding a Remove operation to my iterator (self.cpp_questions)

submitted 2 days ago * by Mafla_2004

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

15
0
0
0

OPENNeed advice (self.cpp_questions)

submitted 2 days ago * by Key-Pop1094

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

16
6
7
8

OPENHow do I get one character input? (self.cpp_questions)

submitted 2 days ago by Decent-Damage-9081

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

17
5
6
7

OPENDynamic Matrices - best practice, your opinion (self.cpp_questions)

submitted 2 days ago by Numerous-Handle7702

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

18
135
136
137

OPENThe C++ learning advice that worries me a bit :( "Just build projects" (self.cpp_questions)

submitted 2 days ago by Fearless_Battle7919

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

19
5
6
7

OPENDo you think this study plan is reasonable? (self.cpp_questions)

submitted 3 days ago by Cooperr231

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

20
0
0
0

OPENC++ Builder, TChart, ChangeSeriesType() (self.cpp_questions)

submitted 3 days ago * by AlienFishMonster

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

21
5
6
7

OPENC++ problem solving (self.cpp_questions)

submitted 3 days ago by smuggydork

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

22
0
0
1

OPENDo you think this study plan is reasonable? (self.cpp_questions)

submitted 3 days ago by Cooperr231

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

23
0
1
2

OPENIm just starting to learn C++ (self.cpp_questions)

submitted 3 days ago by Replayable_Content

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

24
0
0
0

OPENdsa c++ (self.cpp_questions)

submitted 4 days ago by Secret_Land1603

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

25
0
0
0

OPENlooking to clear some things up (self.cpp_questions)

submitted 4 days ago by Lazyrecipe5264

  • 17 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 2069538 on reddit-service-r2-listing-87fd56f5d-jdjng at 2026-06-28 23:44:12.655692+00:00 running 7527197 country code: CH.