TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24736 28
Unable to run C++ in VS Code even after installing MinGW/MSYS — really stuck

Hi everyone,

For the past 2–3 days, I’ve been trying to run C++ programs in VS Code, but it’s just not working.

I installed MinGW, also set up MSYS, and checked the environment PATH variables carefully. Everything seems correct, but C++ still refuses to run. I even uninstalled and reinstalled MinGW, but the problem remains.

I’m honestly very frustrated at this point and not sure what I’m missing.

If anyone has faced a similar issue or knows how to fix this, please help me out. I would really appreciate it.

Thank you!

https://redd.it/1qstpqs
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 7, 2026Escaping `CreateProcess()` arguments on Windows https://holyblackcat.github.io/blog/2026/0…
  2. Oct 7, 2026flat_map internals https://quantdev.blog/posts/flat-map-internals/index.html https://redd.…
  3. Oct 7, 2026New C++ Conference Videos Released This Month - September 2026 C++Now 2026-08-31 - 2026-09…
  4. Oct 7, 2026Jean Frantz René: C++ Memory safety for safety-critical and non-safety critical applicatio…
  5. Oct 7, 2026Full Meeting C++ 2026 program released https://meetingcpp.com/mcpp/schedule/#2026 https://…
  6. Oct 7, 2026Qt moc now can handle basic C++ modules (Qt 6.12) https://codereview.qt-project.org/c/qt/q…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →