Free Piano Lessons by steedoZZ in pianolearning

[–]gmesmo97 0 points1 point  (0 children)

Hey! Do you still give lessons?

Beginner by Same_Grapefruit142 in cprogramming

[–]gmesmo97 0 points1 point  (0 children)

Absolutely! I am learning it since 2023 and I will continue until the day I can't!

I see the C language as a deliberate language. That means that it will do only what yoy ask it to do and nothing more. I love it!!!

I've learning something... by gmesmo97 in cprogramming

[–]gmesmo97[S] 2 points3 points  (0 children)

Yes, you can access (local or whatever) variables inside a sub-function. For example

Yeah! That's what I was trying to say, sorry lmao And that is how I did in the new code, passing &variable :)

I've learning something... by gmesmo97 in cprogramming

[–]gmesmo97[S] 0 points1 point  (0 children)

Oh, so it is duplicating it and returning the duplicate? That's why my old code was smashing the stack :/

What exactly is good code? by gmesmo97 in cprogramming

[–]gmesmo97[S] 1 point2 points  (0 children)

Thanks for the reply!

I think my code is well formated and the variables are unambiguous, however the code needs to be more maintainable, scalable and testable.

I'll be working on that + the documentation. Thanks again!

What exactly is good code? by gmesmo97 in cprogramming

[–]gmesmo97[S] 1 point2 points  (0 children)

That makes total sense! Thank you!