I've been trying to follow tutorials for a good week now, but I'm finding myself frustrated at the fact that, when someone provides a tutorial code and basically says "just throw this in your compiler and run it", it can't just be entered into any C++ compiler. I'm finding myself lost with the fact that one has to go and, (if I've got this right), hunt down random libraries, headers etc, or compile their own. I guess that's one thing that programming in the QBASIC environment never taught me, and is one of my shortfalls in making the jump to C++. You could take code from anywhere and slap it in, compile it and run it, but as far as C++ goes, I feel like I'm going way too slow.
This is one of the many, many reasons that we don't recommend C++ as an early language. The number of pitfalls is ridiculous - a language like C#, Java or Python insulates you from most of this type of concern.
More relevantly, perhaps: start small. Work your way up from "Hello, World!", learning all the basics along the way - source/header files, makefiles, static versus dynamic linking. C++ isn't the language to use if you want to go off half-baked.
Well, I've been reading through a book (C++ For Dummies. I also have Accelerated C++ and C++ The Complete Reference for later), although I'm learning how to code without any major issues, it's a matter of compiler compliance. (ie the tutorials in my book, oddly enough, use printf instead of cout, despite being a c++ book). Problem is, if I try tutorials online, I end up on the same problem; tutorials written by a group of different people, with vague areas such as "oh if you need this header, just make one yourself" etc. You need to already be able to professionally code, in order to learn to code it seems.
What I would love is to be able to pay for a digital tutor of sorts, someone I could ask questions to etc. The downfalls of tutorials are that they sadly, do not talk back whereas a tutor would be infinitely useful, especially one who has been involved in some form of either games programming or game engine programming (I'm curious and keen to try out both at some point). I've done Java and C in college, but it didn't really help me learn about how to tackle C++, especially game-related aspects, then again, my games development teacher consisted of a guy whos only programming experience consisted of a DOS style interface for a bank that he built.
I will take myself back a few steps though, I'm going to give myself at least 3 years max to try and get a basic Raycaster out there. If 7 year old youtube kiddies with ADD can do it, I don't see why I shouldn't be able to. I'll look up some tutorials on headers, makefiles, and linking, as it sounds like the kind of thing that has me a bit stumped at the moment. Thanks for your response by the way!