Professional Documents
Culture Documents
Homework 1
Homework 1
A vocabulary and set of grammatical rules for instructing a computer to perform specific
tasks. The term programming language usually refers tohigh-level languages, such
as BASIC, C, C++, COBOL, FORTRAN, Ada, and Pascal . Each language has a unique set
of keywords (words that it understands) and a special syntax for organizing program instructions.
High-level programming languages, while simple compared to human languages, are more
complex than the languages the computer actually understands, called machine languages. Each
different type of CPU has its own unique machine language.
C ( programming language)
C is a general-purpose computer programming language developed between 1969 and 1973
by Dennis Ritchie at the Bell Telephone Laboratories for use with the UNIX operating system.
C has proved to be a powerful and flexible language that can be used for a variety
of applications, from business programs to engineering. C is a particularly popular language
for personal computer programmers because it is relatively small , it requires less memory than
other languages
C++
A high-level programming language developed by Bjarne Stroustrup at Bell Labs. C++
adds object-oriented features to its predecessor, C.
C++ is one of the most popular programming language for graphical applications, such as
those that run in Windows and Macintosh environments.
Difference between C and C++
C++, as the name suggests is a superset of C. As a matter of fact, C++ can run most of C code
while C cannot run C++ code. Here are some majors differences between C++ & C.