Paper Details  
 
   

Has Bibliography
12 Pages
2876 Words

 
   
   
    Filter Topics  
 
     
   
 

History of C

ments, denoted by the keyword C]; however, this language influenced every language used today in the programming community in some way. A sample Fortran program would look like this (the digits 1, 2, and 3 in this program are labels and .GT. signifies a comparison checking to see if the variable, H, is Greater Than 5):C EXAMPLE FORTRAN CODEDIMENSION A(5), B(5,2)INTEGER HDO 1 I = 1,51 A(I) = 6 - IH = 13 IF (H.GT.5) GO TO 2B(H,1) = 1B(H,2) = 5 + 3 * (H - A(H) )H = H + 1GO TO 32 STOPEND(Parsons)ALGOLAlgol, short for ALGOrithmic Language, is perhaps the most influential programming language ever created. The first implementation arose in 1958 and quickly became the standard for expressing algorithms. Algol was most widely used in the academic community, which thusly led to its widespread usage.P: begininteger h, i;real array A[1:5], B[1:5, 1:2];for i := 1 step 1 until 5 doA[I] := 6 - i;h := 1Loop: if h *= 5 thenbeginB[h,1] := 1;B[h,2] := 5 + 3 * (h - A[h]);h := h + 1;go to Loopendend P(Parsons)The similarity between such modern languages as Pascal and Modula-2 and Algol proves it influential to the programming community, even today. Algol also introduced the concept of “free-format,” a concept that allows programmers to arrange the code any way they want (assuming the syntax is correct) (Parsons). This concept proves itself useful today in making source code easier to read and eliminating the problem of “spaghetti code” (code written in an unreadable fashion, or strung together as spaghetti is).Simula67Simula67 was developed by the Norwegian armed forces (Kristen Nygaard and Ole-Johan Dahl at the Norwegian Computer Center) and was the first of its kind to use classes (as class is defined by “a program unit containing both data and associated functions”) (Overland, 3). Its development was initiated between 1961 and 1967. SIMULA I, appearing first in 1964, was designed as a system simulation and modeling la...

< Prev Page 2 of 12 Next >

    More on History of C...

    Loading...
 
Copyright © 1999 - 2025 CollegeTermPapers.com. All Rights Reserved. DMCA