Programming Tutorials
Programming Tutorials

Programming Tutorials

I will share short and easy lessons, exercises and examples about programming languages here

Comments in C 18

6 Apr 2022 1 minute read 1 comment Cheetah Faith

Single Line Comments   Single line comments span over one line only and are ignored by the compiler.In C they can be done with a double Slash.In this case we do NOT need a semicolon at the end of the line. They can either be above a part of the code....

Working with strings in C

12 Oct 2021 1 minute read 0 comments Cheetah Faith

Since C doesn't have a "string" datatype in the standard library, working with strings can be a pain.Luckily C has a "char" datatype, though. So the first trick is to create an array of chars. Let's have a look at this code: So far we have declared a...

Infinite loops in PureBasic 5.73

6 Oct 2021 1 minute read 0 comments Cheetah Faith

Infinite loops can be a pain in programming, because in most of the cases they will definitely want to be avoided, but in some cases, such as incremental games, they are neccessary, so I have investigated how to do it in PureBasic. The trick is to cr...

Getting started with Basic-256

5 Oct 2021 1 minute read 0 comments Cheetah Faith

I will also share short and easy to understand programming tutorials sometimes. But before I can start with the lessons you will need an editor so you can try it yourself. You can download the Basic-256 editor for free here Basic-256 is a simplified...