Monday, 31 May 2021

How to start programming

How to start programming 


  • Introduction to the c++ programming language :- 


C++ is a high level programming language which is used to communicate with the compter 


It is a cross-platform language that can be used to create high-performance applications.


It was developed by Bjarne Stroustrup as an extension to the C language


The changes were made to make the language more efficient and more affective then the previous one 


Also the changes were made in C++ also over the time as per the current requirement to meet the user experiece and to enhance the capabelities of language changes were introduced 


More about C++ language :- 


C++ is the oldest as well as very popular programming languages 


It can be found in many operating system today also it is used for gaphical user interfaces and embedded systems 


C++ is anobject oriented programming language which gives a clear structure to programs and allows code to be reused,lowering development costs. 


C++ is a portable language means the programm which is written on a particular hardware can be used on different platforms 


Also it is user friendly and easy to learn 


As it is close to the languages like C# and Java so that it makes easy for programmers to switch to C++ or vice versa. 


As we have seen that C++ programs are used to make graphic oriented interface so that it is used in the development various games 


Because it the oldest language C++ is embeded in the core of various operating system 



  • How to write programs :- 


While learning any language the very first thing which we have to learn is the grammer and vocubalery part of that particular language.


Same applies in the programming also to learn any programmng language very first we need to learn syntax and commands of that language which is same as the grammer and vocubalery of any language 


Also we need to learn datastructures as well as algorithm to understand the programming and to develope problem solving skills 


Algorithm :- Algorithm is a step-by-step procedure, which defines a set of instructions to be executed in a certain order to get the desired output 


Algorithms are generally created independent of underlying languages


An algorithm can be implemented in more than one programming language 


It is simply a procedure which is to be followed to solve any real world problem 


In a good algorithm input and output should be defined precisely so that it helps in understanding a problem very efficiently 


Each step of a algorithm should be clear and unambiguous 


An algorithm shouldn’t include computer code it simply states the procedure to solve any real world problem 


An algorithm is made in such manner so that it can be used in more than one programming languaes


To develope a good program it is required to develope a good and a efficient pre-code planning and organization and which is assisted by the use of pseudocode and program flowcharts. 


Flowcharts :- Flowcharts are writen with program flow from the top of the page to the bottom to the page. Each command is placed in a box of the appropriate shape, and arrows are used to show the control flow of ther program the following shapes are often used in flowcart 


  1. Oval shape :- an oval shape in the flow chart shows the begening nd end of the program 

  2. Parallelogram :- a parallelogram is a point where there is input to or output from the program 

  3. Rectangle :- a rectangle indicates the assignment of a value to a variable, constant or parameters



No comments:

Post a Comment

Linking Words/ Conjunctions

  Linking Words/ Conjunctions Conjunctions are words that link other words, phrases, or clauses together. Kinds of conjunctions Conjunctions...