Tuesday, May 8, 2018

C++ Course

A Brief Description

Introduction

In C++ Computers are some of the most multipurpose tools that we all have available. 
They have capacity of performing at very fast level, they allow informations to be
changed easily anyway of their physical location, they simply have many everyday 
tasks to do , and they allow users to automatic do many processes that would be 
you not wanted to do or boring to perform otherwise. However, computers have no 
"mind" as we are. They have to be told in  certain manner exactly what they are used 
to do, and their local languages are quite unlike anything we speak. Thus, there is a 
formidable language board between a person who wishes a computer to do 
something, and the computer that mainly requires instructions in its local 
language,binary code, to do anything. As far, computers cannot take out 
what they are supposed to do on their own work, and thus they do works 
on programs which we create, that are sets of instructions and 
that the computer can understand and follow.
C++  training

A Way To Programs and Programming Languages

In order to better understandings between our computers what exactly it is we wants them 
to do, we all have developed a wide range of C programming languages to make the 
understandings between us and computer process easier.


Lays on the type of project, there are many factors that have to be taken when choosing 
a language. Here is a list of some of the more used ones:
  • Compiled, interpreted, or JIT-compiled
  • Compiled languages in C++ are translated to the target machine's local language 
    by a program called a compiler. This gives result in very fast code, especially if the 
    compiler is effective at optimized, however the resulting code may not port well 
    across operating systems and the compilation process may take short period of time .
  • Interpreted languages in C++ are readed by a program called an interpreter 
    and are accomplished by that program. While they are portable as their 
    interpreter and have no long compile times, interpreted languages are 
    usually much slower than an equivalent compiled program.
  • At last, just-in-time compiled in C++  languages that are quickly compiled 
    when programs written in them need to be run , offering a balance between 
    performance and portability
  • High or Low Level in C++ Levels in this case refers to how much the effect of 
    the language reflects the repressed system. In other words, a programming 
    language's level refers to how similar the language is to a computer’s local 
    language. The higher the level of the language then  the language is less similar to it.
  • Generally, the term which is reserved for machine code itself and assembles languages,
     though many low level languages offer low-level elements. Since a low-level 
    language is subject to all the shade of the hardware it's accessing, however, 
    a program written in a low-level language is generally difficult to port to other 
    platforms. Low level languages are practically never explained, as this 
    generally defeats the purpose.
  • A high-level language focuses more in the concepts that are easy to understand 
    by the human mind, such as mathematical functions. A high-level language is very 
    easier to understand than a low-level language, and it usually takes very less time 
    to develops a program in a high-level language than it does in a low-level language.
     As a trade off one generally needs to take risk of some degree of control over 
    what the resulting program actually does. It is not, however, impossible to mix 
    high-level and low-level functions in a language.
  • A type system refers to the rules and regulations that the different types of variables 
    of a language have to follow. Some languages do not have types and thus this 
    section does not apply to them. However, as most languages (including C++)  
    have types, this information is very important.
     Type Strength: Strong or Weak
A strong typing system puts barrier on how different types of variables can be 
converted to each other without converting any statements. An ideal strong typing 
system would implicits to types that do not make any sense, such as an integer to 
a Fruit object. A weak typing system will find some way to make the cast work.

           
Type Expression: Manifest or Inferred
The work of manifest and inferred with how the compiler/interpreter for a language 
infers the types of variables. Many languages require different variables' types to 
be denotative defined, and thus works on manifest typing. Some however, will infer 
the type of the variable based on the contexts in which it is used, and thus use 
inferred typing.

1 comment: