C++ completely freezes me up compared to other languages, help please!

Hello people! I'm currently trying to learn c++ because my interests include robotics and game development, plus I need it for college. I want to be able to work in a low level language, the problem is, it makes me freeze up and I can't code at all.

The thing is, I can manage my way around other languages, I've used java(minecraft modding), python(math stuff), c#(unity games) and gdscript(godot), in these three I've managed to do small projects that did what I wanted to, if something was acting up, I just look the way on how to do it and work through it, I never felt like I was doing things wrong, it just happened and I understood what I did wrong.

For c++ though, I feel overwhelmed constantly, the fact that I can't even declare a variable without overthinking freezes me up, should this be an address? a pointer? a regular variable? Then also having the new and delete managing memory, then there also are smart pointers, or the fact that I hear stuff I learned is just old and shouldn't be used, better to use the new features instead, but also that there is performance cost associated with using some features that I shouldn't be using if I don't need to, and I just freeze.

Oh god, how do people code in this language? how do people even make good code in this language!? I feel like whatever I write will be the worst code of all time, trying to fix it will make it worse.

I know the advice is to write bad code before optimizing it, but in this language there is just so much that I don't even know if I'm writing bad code in a way that would let me refactor it without breaking everything up.

I don't even know what to ask, if you are someone who also had trouble learning c++, please lend me any advice you can give! thanks a lot!

reddit.com
u/Pinguinon360 — 1 day ago

... Can I just do the recommended routine (RR) until I die?

TLDR: Will the recommended routine work all my life if I just keep adding weights to the last exercises? What am I losing by not doing other advanced routines?

Hello everyone, I apologize if the question is stupid I'm just a beginner, but it's something I have been thinking about for like a week and feel like I need an answer despite being an early moment in my working out plan.

A bit more than a month ago, I was in type 1 obesity doing just wall push and pull ups, now I'm down to overweight BMI thanks to the recommended routine + counting calories and I'm very happy with my progress.

Eventually in a few years, I'll reach the end of the progressions in the routine, My body will be in great shape and I'll be the healthiest I've ever been. The RR is commonly labeled as a beginner routine, why is this? I feel like I would be able to weight up the exercises if I want to progress.

I don't really have other goals, cool calisthenic movements aren't my thing and I don't practice any sport, I do like the idea of being able to freely move around obstacles in the world like climbing ledges or trees, but I feel the RR already helps with that.

Also this routine is great with the little space and equipment I have available, just some gymnastic rings, a pull up bar. Considering buying kettlebells and a weighted vest or belt eventually.

What would I be losing by not doing other intermediate or advanced routines? Are they more focused in the artistic part of calisthenics or do they provide better health benefits? Will the RR be eventually unable to be scaled up? Are there other recommended routines after RR?

Thanks a lot to anyone who answers!

reddit.com
u/Pinguinon360 — 1 day ago
▲ 4 r/loseit

170cm, 90kg, I want to go to 60kg, how much protein should I be eating daily?

Hello, I'm sorry if this question gets asked a lot, but I need help since, according to the common protein calculation of 1.6g per kg, I should be eating 150 grams of protein.

and goddamn that is a ton, that's like 25 eggs, I'm going to be the poorest man alive, eating lentils for half my foods until I die.

surely since I'm trying to lose weight and not build muscle at my current weight, the protein intake should be lower? any help is welcome, thanks a lot for any replies.

Additional info, I am getting into calisthenics for about three weeks now, also eating 1650 calories per day, I started from the lowest, wall push ups, wall pull ups if you can call them that, and squats. Now I'm doing push ups, rows and split squats. 3 sets 3 days a week.

My objective is to reach 60kg and be able to do 15 reps of pull ups, dips and Bulgarian squats.

Also if needed

170 cm -> 5'7''

90 kg -> 200 pounds

60 kg -> 132 pounds

reddit.com
u/Pinguinon360 — 1 month ago

Beginner here, fingers get locked after dead hangs on a pull up bar

Hello everyone! aside from walking, I come from a completely sedentary background, and this is my first time trying calisthenics.

My main problem, and one that I can't find enough information, is that my fingers get unable to move after holding onto the bar for 30 seconds.

The first set was fine, just slight resistance

The second set I needed to uncurl my fingers by pushing them outwards slightly.

The third set trying to move my fingers hurt, and I had to wait for them to stop hurting, slightly moving them to test if they didn't hurt anymore, especially my right hand I guess because I'm left handed.

Today, I tried again, and just after the first set, 20 seconds, my hands were already locked, again, the right hand more than the left one. I stopped after this.

From what I've gathered this is somewhat normal, but I still fear that someday I won't be able to move my fingers without a major injury. Why does this happen? Is there a way to train this? should I stop doing dead hangs until I can solve this? Are there any exercises that focuses on this?

Thanks for reading, I appreciate any help I can get!

reddit.com
u/Pinguinon360 — 1 month ago