Sunday, August 8, 2010

Introduce Of C/C++

History Of C and C++
When Talking about C + +, we must start from C as the language of its predecessor, C including languages pemrograma n is the secondary level. Creator of C is Brian W. Kernighan and Dennis M. Ritchie in 1972. C is a programming language structure that divides the program into a number of blocks (Sub program). The goal is to simplify the making and program development. Programs written with C very easily moved from one type of machine to another. This because the standardization of C is ANSI (American National Standards Institute) is the reference compiler makers C.
C + + was created a decade after C. C + + was created by Bjarne Stroustroup from Bell Laboratories, AT & T in 1983. In the beginning C + + given name "A better C". Name of C + + itself named by Rick Mascitti. The signs + + derived from the increment operator on the language C.
Features of C + + is that this language supports OOP (Object Oriented Programming). The main purpose of C + + is to improve productivity of programmers in creating applications. Most experts agree that OOP and C + + is able to reduce the complexity, especially programs comprises more than 10,000 rows, it can even increase productivity 2X from C, Pascal and Basic.
C + + program
C + + program can be created using any text editor or editor compilernya well. Main program with extension (. CPP). At the time of compilation The main program together with the header files (. h) will be translated by
compiler into an object file (. obj). Furthermore, this object file together with other object files and library files (. LIB) linked together by a linker. The result is a file (. EXE) executable.
C + + compiler
C + + compiler that has been circulating in the market such as Microsoft C / C + + and Visual C + +. Both are from Microsoft. While Borland International also issued a Turbo C + + and Borland C + +,Netbeans can also be made in c + + compiler, but in needing cygwin as extra plug-in.
Example C++ Code
#include
void main(){
cout <<“Hello world”;
}

1 comment:

  1. Terimakasih informasi nya gan, sangat bermanfaat :)
    nice post :)
    ditunggu kunjungan baliknya yaah ,

    ReplyDelete