Something interesting occured a few moments ago from the time I typed this message up.
I was doing small excercises about pointers and when I was going to the next excercise I have seen an example. I didn't read anything else but the example and best of all I read the code and what it had done. I am starting to understand pointer relationships.
I have been spending hours working on pointer excercises and it's really getting into my head.
I wander if I should take a break soon?
I'm so excited that I had to post it.
I also understand what my problems are with my encryption algorithm.
I'm going to start from scratch so I don't have to read my confusing code.
I should use an array and then assign the entire array into that pointer and modify what I must that way.
*pt = *pt * 2; will multiply everything stored in that pointer by 2. Not very good encryption but I have something far better planned.
I believe the trick to making my encryption alg. is to get comfortable with my pointers.
Thanks for the help guys. I guess practice is the only way for me to understand. I wander if that is a bad thing?
I would much rather understand pointers 100% by just reading a line of text.
I was doing small excercises about pointers and when I was going to the next excercise I have seen an example. I didn't read anything else but the example and best of all I read the code and what it had done. I am starting to understand pointer relationships.
I have been spending hours working on pointer excercises and it's really getting into my head.
I wander if I should take a break soon?
I'm so excited that I had to post it.
I also understand what my problems are with my encryption algorithm.
I'm going to start from scratch so I don't have to read my confusing code.
I should use an array and then assign the entire array into that pointer and modify what I must that way.
*pt = *pt * 2; will multiply everything stored in that pointer by 2. Not very good encryption but I have something far better planned.
I believe the trick to making my encryption alg. is to get comfortable with my pointers.
Thanks for the help guys. I guess practice is the only way for me to understand. I wander if that is a bad thing?
I would much rather understand pointers 100% by just reading a line of text.