u/Alejo9010

C++ Development in the Terminal on Windows

Hey all,

I’m a full-stack developer, and recently I’ve become interested in learning C++. My main IDE is Neovim, so I mostly work from the terminal.

I’m planning to learn C++ to build Windows programs, so I’ll be using Windows and the Windows command line. I’m aware of WSL, but I specifically need to build in a Windows environment.

My question is: what is the best way to set up C++ projects and run them quickly with simple commands?

What is everyone using for this workflow? I’ve seen CMake, but from studying how Visual Studio and CLion do things, it looks like they keep adding every new file to the CMakeLists.txt. I find that a bit tedious, but I’m wondering if that’s just what everyone does: create a file, then manually add it to CMakeLists.txt.

Basically, I want to understand the workflow of people who use C++ mostly from the terminal. I don’t need anything super fancy since I’m still in the learning stage.

Thanks!

reddit.com
u/Alejo9010 — 7 days ago

Hey, I bought a Herman Miller Embody around 2 weeks ago (total cost $1708 before anyone asks, lol). I replaced my $50 chair with this. While I tested it in the store, it was super comfortable. I bought it mostly for after work (I'm a software engineer). I spend 8 hours there in a chair and then come home to do some gaming/coding, and I'm starting to feel lower back pain. I have followed multiple tutorials on how to adjust it, but I'm still experiencing pain. I use it probably 1 to 3 hours a day. My question is, do I need some time to get used to it? Has anyone gone through this and is now happy with the chair? I'm just worried about it not improving and being outside the return window.

reddit.com
u/Alejo9010 — 7 days ago
▲ 3 r/TMJ

Hello! About one month ago, I had some cavities filled, and they kept my mouth open for three hours. After the procedure, and for the next two days, everything was normal, but on the third day, I experienced really strong pain in my jaw when I tried to open it. I was about to cry at the office, so I called my dentist right away to get it checked. She told me that I didn’t have an infection, but that my jaw was locked. She mentioned that it’s not common, but it does happen. She gave me some wooden tongue depressors and instructed me to try to open my jaw gradually. I went from using nine at once to 14, but the pain is very annoying, and I can’t even eat in peace. All I am eating is soup—if I want rice with chicken, I have to throw it into the blender.

My issue is that it doesn’t seem to be getting better. Is that normal? When I say I went from nine to 14 sticks, it’s because I pushed myself to force it open, but normally, I can comfortably handle nine.

reddit.com
u/Alejo9010 — 9 days ago
▲ 22 r/neovim

Hey! I’ve been using Neovim for full-stack development (React/Node), but I’m about to start learning C++. I was wondering what the standard workflow is in Neovim, since most C++ videos seem to use Visual Studio. How do you run code, format it, and which LSP is best?

reddit.com
u/Alejo9010 — 12 days ago