C++ Course
First Section: Introduction
Introduction to C++ Programming Language:
Welcome to my beginners guide to C++. If you are starting to program for the
first time, I hope that you find the sections I have written useful. C++ is an excellent
language to start programming in. A lot of applications that you use are probably
written in C++. Once you learn some basic concepts and other languages, like
Java or C# for example, programming will be much easier.
I have made the sections short and concise so you won’t get bored or weighed down by too much information. After each section you can rearrange the code in the examples provided or make up your own
code. Programming is very much a practical subject so you will learn a lot by messing with the code or even looking at other people’s codes.
What is a Computer Program?
A computer program is a set of instructions that a programmer writes to tell a
computer how to carry out a certain task. The instructions, however, must be in a
language that the computer understands. Computers only understand the binary language
i.e. that is composed of 1’s and 0’s. This is a low level language and very hard to
program in. So humans invented higher level languages, such as, C++ and Pascal to
make the job easier. As you will see, these languages are nearly like English, but you
don’t have the freedom to write what you like there still are rules you have to
follow.
To convert a program in C++ to a binary or executable file that the computer can
understand we use a compiler.
First Section: Introduction
Introduction to C++ Programming Language:
Welcome to my beginners guide to C++. If you are starting to program for the
first time, I hope that you find the sections I have written useful. C++ is an excellent
language to start programming in. A lot of applications that you use are probably
written in C++. Once you learn some basic concepts and other languages, like
Java or C# for example, programming will be much easier.
I have made the sections short and concise so you won’t get bored or weighed down by too much information. After each section you can rearrange the code in the examples provided or make up your own
code. Programming is very much a practical subject so you will learn a lot by messing with the code or even looking at other people’s codes.
What is a Computer Program?
A computer program is a set of instructions that a programmer writes to tell a
computer how to carry out a certain task. The instructions, however, must be in a
language that the computer understands. Computers only understand the binary language
i.e. that is composed of 1’s and 0’s. This is a low level language and very hard to
program in. So humans invented higher level languages, such as, C++ and Pascal to
make the job easier. As you will see, these languages are nearly like English, but you
don’t have the freedom to write what you like there still are rules you have to
follow.
To convert a program in C++ to a binary or executable file that the computer can
understand we use a compiler.
0 comments:
Post a Comment