Assignment
C Programming Language
- C 'Programming Language' is a computer language used in computers.
- It was developed in 1970 by Brian Kernighan and Dennis Ritchie of the AT&T Lab in the United States.
- Initially in the 1970s the C-language only worked on the Unix operating system.
- It later became the most widely used programming language after being facilitated to run on other operating systems.
- It is being used to create computer operating systems and other useful software as it is not a language suitable for beginners but runs very fast.
- Year of Appearance: 1999
- Development: Southern Irrigation & Bell Labs (creators); ANSI X3J11 (ANSI C); ISO / IEC JTC1 / SC22 / WG14 (ISO C)
- Normal mode: Static, weak, manifest, nominal
- Implications of this language: Numerous: AMPL, AWK, csh, C ++, C - (C--), C # (C #), Objective C, BitC, D, Go, Java, JavaScript ( JavaScript), Limbo, LPC, Pearl, PHP, Pike, Processing, Seed7
- Operating System: Cross-platform (multi-platform)
History
Early development
- The early development of the C language took place between 1969 and 1973.
- According to Dennis Ritchie, the most important development work took place in 1972 at the AT&T Bell Laboratory in the United States. Initially, the programming language B was developed following BCPL (Basic Combimed Programming Language).
- They took the second letter C in the BCPL as the name of the language that followed.
- They then added the plus sign ++ to the resulting 'C ++' programming language.
Example
Try running the following program on Windows / DOS operating systems.
#include <stdio.h>
void main ()
{
printf ("This is a C program \ n");
printf ("Hello world \ n")
}
Output:
Hello world
C ++ Programming language
- C ++ is a common programming language with enhancements to C ++.
- It was developed by Bjarne Stroustrup.
- In 1979
- At Bell Laboratory
- It is an Extension to C Programming language.
- It has Object Oriented Programming (OOPs) feature.
- It is used to development of system software and application software, drivers, client server application and embedded firmware.
Example:
Hello world Program
# include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
Output
Hello World
History
Byrne, who worked at the Bell Labs in the United States, developed C with Classes in 1979 as a way to improve the composition of C. It was renamed C ++ in 1983 to refer to the ++ in the C language, the increment operator.
Philosophy
- Throughout the life of C ++, a set of rules that must be followed in its development and its evolution is being administered informally.
- It should be driven with real issues and its features and be immediately effective in real world projects.
- Its features should be as practical as possible.
- It should give programmers the freedom to create their own programming style, and that style should fully support C ++.
- Allowing a useful feature is more important than preventing every possible error of C ++.
- There should be no language below C ++.