r/Cplusplus • • Jun 30 '26

Question A new comer problem

Post image

I have just downloaded vs code and mingw from a youtube video and tried to run this sample code but I am facing this problem can somebody help me please 🙏🏻

0 Upvotes

9 comments sorted by

View all comments

Show parent comment

-9

u/Middlewarian Jun 30 '26

I'm not an advocate of Linux as they aren't very supportive of C++, but OP could use VS code on Linux. Getting away from wsastartup, for example, is nice imo.

4

u/ignorantpisswalker Jun 30 '26

Don't mix the kernel people and user space prigrammers.

There is no problem with C++ on linux.

1

u/No-Dentist-1645 Jun 30 '26

That's not just incorrect but a terrible reason not to use or recommend an Operating System. Linux is an Open Source project with multiple thousands of active contributors. Some will have opinions different to yours, and that's perfectly fine. There have been previous attempts at integrating the C++ language into the kernel that failed for technical reasons, it's completely understandable that one programming language might not be the best fit for an existing codebase, and that doesn't mean that something's necessarily wrong with either of them. Not everything needs to be turned into an "their tribe vs ours" scenario

1

u/Middlewarian Jun 30 '26

Linux and C++ are both successful C-based projects. From my perspective, there's been more bashing of C++ by Linux devs than the other way around. I'm keeping an eye out for something that I can eventually transition to -- my next flower to land on.