well i guess so but trying to learn this on my own
Don't do that. Work yourself through the tutorial on this site to get most of the basics down, and then grab a good C++ book (like Stroustrups "The C++ Programming Language") to learn more about the language. Trying to teach yourself without having at least the basics covered will only lead you to learn complete nonsense that you have assembled based on what you observe, which you have to unlearn later on.