Setting Up C++ Programming Environment in Windows 10 Is a Pain

Yesterday I was excited and ready to start getting to programming with C++. I thought that it would be nice to learn and to refresh my memory. I have some years ago completed a programming basics course in C++. The idea of having an executable that could be run on a wide range of devices was the idea that was so fascinating to me. I use Windows 10 a lot. So I decided that it would be easiest to just install some IDE and also a compiler.

I was so wrong with my decision. I tried to install Cygwin. During the installation you would have to select all the components that you definitely need for C++ development. There are hundreds of them. If you would like to install all of them that would take days to download and install. So that basically wasn’t an option.

I have been around Java from 2010. I am very familiar with setting up programming environment for it. It is just way easier than with C++. I wanted to code in C++. I just think there are so many options if you learn and use this programming language. What was my solution?

While I was going through the material I found online I figured that it might be easier if I would start with Linux instead of keep hitting my forehead to Windows 10. I know that Microsoft has been trying to make it a bit easier to use Linux’s software on Windows. That however wasn’t the solution for me. So I swithched to my laptop that has a dualboot install of Windows 10 and Ubuntu.

I had already Visual Studio Code installed. All I had to do was to install the extension inside VS Code. That was almost it. I had to look up how to run build inside the IDE but that wasn’t a hard thing to do. So I got to programming quickly.

It was my goal to just write something that would work and refresh my memory on the programming language. As I got my programming environment to work I got to the actual programming. I had to look up some tips on how to present text and read it in online. I am serious as I say that any programming experience in any language makes it way easier to switch to a language that you aren’t already familiar.

C++ is used widely and still in 2022 for programming games and other software. Aside it being a tough to install in Windows it really is a dynamic programming language. There basically aren’t many limitations in what it can be used for. Even websites and desktop applications with a GUI can be build.

What I build yesterday was just a tiny application. Actually it is a personality test with a lot of humourous edges on it. You answer in five questions which give you points for a type of a person you are. There are three types. The personality type that you are is the one that gets most points based on your answers. Yes. And the types are (translated since the application is in Finnish) “a talented model citizen”, “an alcoholic” and “loser”. So you are one of these. I know, there aren’t much of a choice.

Anyways, I had fun all of the about three hours I spend developing this funny or stupid app.  I had fun. It was nice. The program managed to fit into about 150 lines of code. So you can imagine that it wasn’t so complex. It had some basic text that was read in and also printed out. It used different variable types, some loops and decision making with if-else structures and that was basically it.

If you would like to program with C++ yourself I highly recommend using a computer that has Linux installed. I also like Visual Studio Code which is a free text editor or even an IDE (which stands for Integrated Development Environment).

Silent Hill 2 Remake

So there is a new remake of Silent Hill 2 in the makings. I was thinking that in this post I wouldn’t go so deeply into what is coming for us gamers but I thought I should write something I feel about this series of survival horror magnifiency that Silent Hill has delivered and what is my relationship with it.

My first memories are about the first game of this series. I think I never owned the game. I did play a short demo of it. I liked it. Later I have played it but I never completely finished it. The latest connections between me and Silent Hill are made by playing PS3. I own the HD collection and also Silent Hill Homecoming. I had Downpour but I decided some years back to sell it. I also have Silent Hill 3 for PS2.

There is always a comparison between Silent Hill and Resident Evil. Both of them are survival horror games. They do differ a lot. While Resident Evil offers a constant feel of anxiety, Silent Hill does take you deeper into characters and how they feel and how the story keeps forming. I wouldn’t like to say that Silent Hill is in some way better or worse. Instead I would like to think that they are just different games. And they are good series of games all in all.

My history with Resident Evil is a lot closer. I started with Resident Evil 2 on PS1. I have completed also RE 1, RE 3 and RE 5. I almost completed RE Revelations and I am talking about the first in the series of two games. So I have some experience but I am not the master that has completed every game and every game in the whole world. There are lots of games in these series’s.

Silent Hill 2 is definitely a legendary game. Currently we know that it will be released for PS5 and PC. There will be no Xbox or Switch versions. There has been also some conversation about the game’s system requirements. They are going to be high. What is there to be for us? I think the time will show us. I am waiting to see something more out of this game.

SteamOS – An Alternative to Windows

For a long period of time Windows has dominated the scene of playing games with a PC. There is always an alternative and that is Linux. If you have played video games on your personal computer you have most likely stumbled on Steam. It is Valve’s, yes, the company that brought Half-Life to us, brilliant piece of software turned as a game shop application for buying and installing and also maintaining your library of PC games.

There are of course other ways to get your favorite games delivered to you. I have to mention Good Old Games or GOG.com. Some of you might still be buying physical copies of games. You know, those optical discs. They might be CDs, DVDs, Blu-rays or even 4K Ultra HD Blu-ray discs. That is if you even have some sort of an optical drive in your personal computer.

Windows was my choice when I bought my desktop computer almost two years ago. I thought that for the way I use my PC it would be perfect. I have to mention that if you don’t get Windows on the system you are buying you are going to have to pay a lot to get it. I just checked the price of just the operating system Windows 11 and it was 145 euros. That all is just for the operating system.

Linux on the other side is free. It is also open source. What this means is that anyone can participate in making Linux better. I find this kind of comparison between Linux and Windows to be very interesting. In my current job I have had the pleasure to work a bit with PowerShell. This is a deep topic and I am going to just scratch its surface a bit. But let’s say that Linux is open and Windows is closed for what it comes to modifying the code that lies beneath the surface of the operating system.

But what about SteamOS? I can tell you that it is a Linux based operating system. It is free. And it has Steam installed on it. But what is that? I can already hear you talking about how Windows games aren’t compatible with Linux? Well, actually, now they are. Do you know what is “wine”? Let me, again, explain this a bit  further.

Wine is a tool that basically let’s you run software applications that were meant to be launched and run on Windows on Linux. This involves a lot of fiddling with settings and probably some deeper understanding about how software is commonly run on any platform or operating system. But the main point is that it indeed is possible to work with a game or application this way.

Now, when I made my decision of what is going to be my personal computers operating system, I thought a bit how am I going to use the computer. I wanted a machine that could be able to produce some documents so having office tools was important. I also wanted to be able to program on it. This actually works fine in both Linux and Windows. I am also a hobbyist musician as you may recall so it was important that my DAW would work and also that all my VST instruments and effects would be available. And last but not least, as I had a powerful device already, I wanted to be able to play latest PC games on this computer.

What was my choice? It was Windows. If I would have had to install and buy my operating system separately this would have meant that I would have had to buy a Windows license for 145 euros. The alternative would have been to install some Linux distro. Since SteamOS is currently free why not download it? It supports all of the games right?

Valve has had some success as it has brought a working market place and also a place for your gaming library for you the gamer. If you think about also Steam Deck you can clearly understand what is going on right here. Steam Deck is a very good and practical handheld gaming device. And it supports also Steam. I have been using Steam since I got my PC and that was about two years ago.

But would I go and trade my current and working system to SteamOS? I have to say that I am not right now yet ready for it. I am too concerned that I won’t have an opportunity to use my computer to other matters that aren’t about playing games. But I can say it is tempting. I have thought about testing SteamOS and maybe I will install it on some older PC someday.