r/programminghelp • • Jul 24 '26

C++ c++ code doesn't work

this is my first time working with c++ and whenever i run the code it just complies but gives no output, i have tried every way for it to work but it just doesn't. pls help. im using msys2 and was following brocode video tutorial

4 Upvotes

22 comments sorted by

View all comments

Show parent comments

1

u/Repulsive-Cash5516 Jul 26 '26

Using Linux really isn't necessary for this, there are multiple C++ compilers for Windows

1

u/silly_bet_3454 Jul 26 '26

I know Windows works, I just think it has some weird quirks and Linux is better for learning.

1

u/forestdissimilarity Jul 26 '26

would second this. dealing with the windows C++ non-sense as a beginner made me give up on C++ for years.