14-06-2013, 03:45 PM
Introduction to Programming Language
Introduction to Programming.ppt (Size: 3.45 MB / Downloads: 32)
Strategies for learning C++
Focus on concepts and programming techniques. (Don’t get lost in language features)
Learn C++ to become a better programmer
More effective at designing and implementing.
Learn C++ gradually
Don’t have to know every detail of C++ to
write a good C++ program.
Introduction
C Language developed by Brian M Kernighan and Dennis Ritchie at Bell Labs in early 1970’s
Unix OS developed in C language
Inherited from two previously programming languages BCPL and “B”.
BCPL “Basic Combined Programming Language”) A programming language developed by Martin Richards in Cambridge in 1967
C++ is a superset of C language, 1980
Program
An ordered list of events to take place or procedures to be followed; a schedule
A collection of instructions that tell the computer what to do. A program is generically known as "software" and the programs users work with, such as word processors and spreadsheets, are called "applications" or "application programs." Thus, the terms software, application, program and instruction are synonymous in the sense that they all tell the computer what to do.
A program is written in a programming language, such as C or C++, and the statements and commands written by the programmer are converted into the computer's machine language by software called "assemblers," "compilers" and "interpreters." The program contains machine instructions, buffers, constants and counters.
Algorithm
A step-by-step problem-solving procedure, especially an established, recursive computational procedure for solving a problem in a finite number of steps.
A set of ordered steps for solving a problem, such as a mathematical formula or the instructions in a program. The terms algorithm Aand logic are synonymous. Both refer to a sequence of steps to solve a problem.