Introduction
I've been spending my Saturdays doing tutorials on languages I'm curious about. This week it's C++.
What I knew about the language before I started
- Nothing.
What I did
The first 20 minutes of C++ Crash Course For Beginners. Then Simple Snake Game in C++ Console
The crash course was interesting to hear about the background to the language, but then it was just "this is a variable, this is a loop" etc and it was pretty similar to other languages, so I skipped all that. I was glad I had that background for the snake game.
The hardest part of the snake game was getting my head around the logic. It ends up with a good game, although since it's old I had to look up how to do the sleep part, to slow it down. And I got annoyed that the fruit always went to the same places in the same order (which seemed to be near the walls far too often) so I looked up how to make the randoming more random.
The big problem I had with it was the screen flickering, which he said at the start wouldn't be a problem by the end, but he never fixed it. So it's hard to play because looking at a flickering console is not fun.
What I thought about the language
I thought it was a really hard language, that would be nothing like anything else. But it wasn't at all. It was just yet another similar language. I was expecting to hate it, but I didn't.
I was mostly excited by Visual Studio filling in all the switch options for me. Which isn't really language-related, just Visual Studio-related.
What's next?
Nothing! I am taking a break for a couple of months (timescale subject to change).
Top comments (1)
Words cannot adequately convey my appreciation for Drift Boss the author's willingness to share their knowledge and provide such helpful insights.