Quote Originally Posted by jlewand61 View Post
It shouldn't bother anyone whether I take advice or not. It wouldn't bother me if someone deflected my advice. I've sincerely asked to help me get into good C coding habits. C is a new animal and I'm trying to develop good habits from the start.
It bothers us because we are taking the time to review your code, and tell you what we think about it, and how to make it better. Yet you seem bent on ignoring what is said, hence our time is wasted...

----
That said, if you want my advice about trying to move from assembler to C, then I'd actually suggest you learn C++ !

For you, C may only feel like an evolution from assembly, making it hard to shake your old habits, as it allows you to do things "the good old assembly way"

C++ won't take that crap. If you take the time to learn some if it correctly, chances are it will shift your mindset, making it more prepared to learn the C way. C++ will teach you proper encapsulation, abstraction etc.

Once you've learned those, you'll realize they can also be used in C, and will strive to use them.

That and learning C++ is also useful. IMO learning C => C++: bad idea. C++ => C works perfectly fine.

My 0.02$