Starting from C is the worst possible choice. C-like code is the source of errors and security holes, just like actual C.
Instead, start using the most modern language your compiler supports. Everything you write will come much easier, with much less opportunity for mistakes, and be much more fun. You will hardly ever find yourself using pointers, and never allocate or free memory.