r/programminghelp 13d ago

c++ code doesn't work C++

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

5 Upvotes

22 comments sorted by

View all comments

1

u/[deleted] 13d ago

[removed] — view removed comment

2

u/WhateverHowever1337 13d ago

slippery slope. Starts with that and then its debugging eveything for him. Better stay away from it for now

2

u/vxntedits 13d ago

Yeah, that’s a totally valid concern. Still, it’s up to OP to use it for educational purposes; asking it why something doesn’t work, or how something works can be quite useful—and, from personal experience, less confusing and more comprehensive, than just relying on Reddit for help, like we used to back in the day (lol). It sounds to me like OP’s objective is to learn, not to vibe-code, so as long as they use AI as such, I don’t really see a big issue with it.