I'm going to assume that you've got some tools and you're ready to
rank an application. Again, in most languages,
I would be able to tell you all applications look like this.
Here's what you need to make.
But C++, again, is really unusual.
It targets all platforms, and I mean all. So yeah,
sure, you know your desktops, Windows, Mac, Linux,
obviously, but that's nowhere near all. Phones, as native applications,
not necessarily through intermediary frameworks. But
then embedded C++ is also a thing.
So if you want to code robots or the Internet of Things. There's someone
who's teaching 12‑year‑olds how to program bracelets in C++,
make them light up and flash and things according to various triggers,
such as time going by or a sensor detecting something.
And all of this happens using the same language, C++.
What's different is the coding patterns that you use and the
libraries that you use to create the application. So you
could learn to write games in C++.
But the problem with me doing that when you don't know the language yet is
I had to teach you a bunch of foundational game concepts, and then I have
to choose a game framework for you to learn,
and you'd be learning that as much as C++.
And if you wanted to end up working in finance, all of that
learning of game wouldn't be super useful.
We do a lot of C++ work in high performance/low
latency concepts, including finance.
And there you write a completely different kind of code because you're so
focused on performance. You could do some sort of a server,
something that doesn't even have a user interface.
That sounds like a great idea.
They're usually very native and tailored to a single platform.
Of course, that would exclude everyone who didn't have access to the platform.
I could write a corporate application, you know,
with buttons and and text boxes and things, but, again,
I'd have to teach you the framework that you use to make
that kind of user interface.
And if you want to write a game,
you don't want to put any time into learning that
framework and that user interface.
I want to show you the language itself and the Standard Library,
and I want to therefore show you the absolutely simplest kind of application,
one that will work on any platform without you needing
any special tools or frameworks.
Because the most important thing about all these different kinds of
applications, games, the high performance stuff,
the user interface free stuff,
the very corporate GUI stuff, all of these applications
are all based on the same language.
The syntax is the same for all of them, and the standard libraries is the same for all of them.