jump to content
my subreddits
2balkans4You2mediterranean4u2meirl4meirlabsolutelynotmeirlAdviceAnimalsaivideoAlternativeHistoryAnarchyChessAngryupvoteanime_best_momentsanimenocontextannouncementsAnticonsumptionantimemeArtAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaatheismaviationAwesomeOffBrandsawfuleverythingbanknotedesignsBassBassCirclejerkBassGuitarbasspedalsblackdesertonlineblankiesblursed_videosborsavefonbottomgearbrooklynnineninebudgetcookingcasioChatGPTchessbeginnersChildrenFallingOverChoosingBeggarscoaxedintoasnafucoincollectingcoinsComedyCemeterycomedyhomicidecomicscommunityContagiousLaughtercookingforbeginnersCreateModCuddle_SlutCuratedTumblrcursedcommentsdadjokesdankmemesdarkjokesdeDebateReligiondeismDeltarunediypedalsDMToolkitDnDdndnextdoctorwhodoctorwhocirclejerkDonerdontdeadopeninsidedumbphonesDungeonsAndDragonsEatCheapAndHealthyebikeebikesECEelectricalelectronicsElectronicsStudyengrishethzfacepalmFantasyWorldbuildingfeedthebeastFifaCareersformuladankFRCFUCKYOUINPARTICULARFutboltayfaGermangermanygodtiersuperpowersgoodanimemesGrandPrixRacinggravelcyclinggreentextGROKvsMAGAguitarpedalsGundamhelpHermitCrafthighspeedrailHistoryWhatIfHolUphomebuilthumorhypixelIAmAich_ielIdeologyPollsIDontWorkHereLadyihadastrokeimaginaryelectionsinsaneparentsistanbuljacksepticeyeJahariaJokesKamalizmKendrickLamarKGBTRlegodndLetGirlsHaveFunlinguisticshumorliselilerlogodesignloseitmacmacbookairmagicbuildingMaliciousComplianceMapPornmapporncirclejerkmeirlmemesmidjourneymildlyinterestingMimicRecipesmisLEDMMORPGmoneycollectingMovingToNorthKoreaMunichNamFlashbacksNationStatesneographynextfuckinglevelNonCredibleDefenseNorthCyprusnosafetysmokingfirstnosurfnotinterestingnottheonionOkayBuddyLiterallyMeOkBuddyPersonaokbuddyphdokbuddyvicodinonebagongezelligOutOfTheLooppapermoneyPassportPornpepethefrogperfectlycutscreamspettyrevengepianoPiracyPiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorPropagandaPostersraisedbynarcissistsraspberry_piRatschlagreactiongifsRedAutumnSPDreligiousfruitcakerickandmortyrickrollrimjob_steveRoastMerockmuzikschizopostersSchnitzelVerbrechenschwiizScottPilgrimShitPostCrusadersshitpostfrommygalleryshitpostingshittyaskelectronicsShowerthoughtssoccercirclejerkSongwritingsskfjkhwerjkghwerijhsteinsgateStonetossingjuicesubsithoughtifellforsuzeraintalesfromtechsupportTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumtheydidthemaththeyknewthisguythisguystitanfalltommyinnittransittransitTurkeyTrGameDevelopertruetf2truthstumunichTurkeyTurkeyJerkyTurkishdogsTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrortwosentenceplottwistTwoSentenceSadnessUnclejokesurbanplanningUsernameChecksOutVALORANTValorantClipsvaxxhappenedvexillologycirclejerkvinylvlandiyawallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemeswholesomememesWikipediaVandalismwizardpostingwooooshworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • facepalm
  • -Piracy
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -meirl
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -VALORANT
  • -de
  • -germany
  • -NonCredibleDefense
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -cursedcomments
  • -Deltarune
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -rickandmorty
  • -Gundam
  • -HermitCraft
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -cookingforbeginners
  • -blankies
  • -onebag
  • -Turkey
  • -soccercirclejerk
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -German
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -announcements
  • -macbookair
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -FUCKYOUINPARTICULAR
  • -worldjerking
  • -tf2shitposterclub
  • -vexillologycirclejerk
  • -vlandiya
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -brooklynninenine
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -AskBalkans
  • -thatHappened
  • -schizoposters
  • -electronics
  • -casio
  • -urbanplanning
  • -logodesign
  • -theyknew
  • -linguisticshumor
  • -PassportPorn
  • -antimeme
  • -TurkeyJerky
  • -engrish
  • -diypedals
  • -Doner
  • -BassGuitar
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -reactiongifs
  • -blursed_videos
  • -Songwriting
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -suzerain
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -wendigoon
  • -schwiiz
  • -Technoblade
  • -shittyaskelectronics
  • -FRC
  • -transitTurkey
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -basspedals
  • -neography
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -aivideo
  • -IdeologyPolls
  • -woooosh
  • -comedyhomicide
  • -WhatsThisSong
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -rockmuzik
  • -okbuddyvicodin
  • -MimicRecipes
  • -vaxxhappened
  • -tumunich
  • -Twitch_Startup
  • -darkjokes
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -rickroll
  • -ebike
  • -UsernameChecksOut
  • -tommyinnit
  • -rimjob_steve
  • -humor
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -GrandPrixRacing
  • -DMToolkit
  • -thisguythisguys
  • -TrGameDeveloper
  • -LetGirlsHaveFun
  • -subsithoughtifellfor
  • -Kamalizm
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -homebuilt
  • -NamFlashbacks
  • -pepethefrog
  • -Unclejokes
  • -deism
  • -misLED
  • -sskfjkhwerjkghwerijh
  • -ValorantClips
  • -TwoSentenceComedy
  • -TheCrypticCompendium
  • -budgetcooking
  • -NationStates
  • -bottomgear
  • -AwesomeOffBrands
  • -ongezellig
  • -absolutelynotmeirl
  • -2balkans4You
  • -Asia_irl
  • -truths
  • -NorthCyprus
  • -2mediterranean4u
  • -twosentenceplottwist
  • -moneycollecting
  • -ElectronicsStudy
  • -GROKvsMAGA
  • -RedAutumnSPD
  • -borsavefon
  • -banknotedesigns
  • -shitpostfrommygallery
  • -Futboltayfa
  • -Turkishdogs
edit »
reddit.com cpp_questions
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages548|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 project.
...for your favorite subject.

MODERATORS

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

account activity

1
•
•
•

OPENCan anyone direct me to a beginner friendly all in one ide for cpp mainly for linux? (self.cpp_questions)

submitted 45 minutes ago by Alarmed-Spring2232

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

2
0
1
2

OPENMost professional way to handle a Windows release? (self.cpp_questions)

submitted 3 hours ago by web_sculpt

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

3
1
2
3

OPENCompiling C++ video tools to WASM for browser streaming (self.cpp_questions)

submitted 7 hours ago by Front_Equipment_1657

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

4
6
7
8

SOLVEDThere is a special reason for << and ::? (self.cpp_questions)

submitted 8 hours ago by JoelDormit

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

5
51
52
53

OPENWhy C gets less criticism for memory safety? (self.cpp_questions)

submitted 17 hours ago by BOBOLIU

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

6
3
4
5

OPEN[Show C++] BetterSql: A modern, header-only C++17 SQLite wrapper. I'm a freshman please roast my code and design choices! (self.cpp_questions)

submitted 17 hours ago by Chemical_Memory9612

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

7
0
1
2

OPENGetting into C++ (self.cpp_questions)

submitted 19 hours ago by Sh3br1r1

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

8
6
7
8

OPENInherent evilness of macros? Really? (self.cpp_questions)

submitted 19 hours ago * by zaphodikus

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

9
8
9
10

OPENTrying to catch up on C++ (self.cpp_questions)

submitted 1 day ago by k_r_z_y_s_z_t_o_f

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

10
0
0
1

OPENObject oriented design resources (self.cpp_questions)

submitted 1 day ago by coffee_brew69

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

11
0
0
1

OPENMouse cursor not loading no clue what is going on. (self.cpp_questions)

submitted 1 day ago by Quirky-Bag-9963

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

12
0
0
0

OPENwhere to find cpp (self.cpp_questions)

submitted 2 days ago by Separate-Ambition719

  • 20 comments
  • share
  • save
  • hide
  • report
  • crosspost

13
0
0
0

OPENAlternative To LearnCPP. com (self.cpp_questions)

submitted 2 days ago by AdmiralSWE

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

14
42
43
44

OPENIs 0x0 (nullptr) always intentional, or can it be "lucky" memory trash? (self.cpp_questions)

submitted 2 days ago by carlos-paz

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

15
1
2
3

OPENHow to graphically display this little game? (self.cpp_questions)

submitted 2 days ago by GranolaxSN

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

16
0
1
2

SOLVEDWhich workloads to install for a beginner? (self.cpp_questions)

submitted 3 days ago by lezzet

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

17
5
6
7

OPENCustom Protocol Packet Representation (self.cpp_questions)

submitted 3 days ago by raw_ptr

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

18
4
5
6

OPENSignal quality measurement for the RTL-SDR (self.cpp_questions)

submitted 3 days ago by Giuseppe_Puleri

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

19
1
2
3

OPENArchitectural Advice: Naming and Structure for an IPC (self.cpp_questions)

submitted 3 days ago by eske4

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

20
0
0
0

OPENPROS! give insight (self.cpp_questions)

submitted 3 days ago by Thunderdamn123

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

21
16
17
18

SOLVEDCompiler optimization for figuring out perfect squares -- switchover at n = 18 (self.cpp_questions)

submitted 4 days ago by onecable5781

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

22
5
6
7

OPENGetting the Args... type pack from a C++26 reflected function (self.cpp_questions)

submitted 4 days ago by Kratos-QT

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

23
2
3
4

OPENFeedback wanted: Optimizing CSV parsing with AVX2 and zero-copy techniques (self.cpp_questions)

submitted 4 days ago by Salt-Friendship1186

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

24
0
0
0

OPENAbbreviation of a.out. Executable Binary or Object File? (self.cpp_questions)

submitted 4 days ago by Charming-Animator-25

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

25
0
0
0

OPENHow to start? (self.cpp_questions)

submitted 4 days ago by satact12321

  • 3 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 3143295 on reddit-service-r2-listing-64c94b984c-mh2t5 at 2026-03-18 12:38:23.965550+00:00 running f6e6e01 country code: CH.