The Essential Coding Manual Vol 19
You will have a good foundation in coding with Python, C++ and Bash scripting on Linux, and you will be able to apply what you’ve learned to real-world situations, problems, games and more.
Python is without a doubt the most popular programming language with which to start learning code. Not only is it easy to understand and follow, but it’s also quick to achieve great results and it’s astonishingly powerful too. We’re using Python 3, the latest version of the language, and with it you’re able to create everyday useful software, graphical games, text adventures and interactive programs that can be fashioned for use at home, or at work. Python is a fantastic language and we will help you master the basics and set you on your way to becoming a pro Python programmer.
C++ is one of the most powerful, high-performance and efficient programming languages you can learn. Web browsers, games, applications, and even entire operating systems are coded and created using C++; which makes understanding it a highly sought after skill to have. Where do you begin though? We look at how you get started with C++ on Windows, macOS and Linux, and from entering a few lines of code, to have something appear on your screen, through to data types and user interaction.
Coding on Linux
Linux is an open source operating system that forms a superb foundation on which any would-be programmer can build. It’s free to download and install, and with it you can use all of the popular mainstream programming languages through a variety of different front-end apps.Linux is great when it comes to creating scripts. With scripting we can create useful, everyday programs to help us back up a system to a remote location, user interactive code, and much more. By using the Bash Shell in Linux, you’re able to interact with the entire system and its users, as well as any Python and C++ code you’ve already created.
There’s a handful of coding projects within this book that cover: animations, creating a loading screen for your code, and even tracking the International Space Station using real-time latitude and longitude data. To help you, we’ve also included some of the more common mistakes made when starting to code. By the end of this book, you’ll be well on your way to forging your own, personal code.