Programlama Dilleri Tarihi

1957 yılında, Fortran dili ile bilgisayar dünyası şu anki anlamıyla bir yazılım diline kavuşmuş oldu. Fortran (mathematical FORmula TRANslating system) adından da anlaşılacağı gibi genellikle matematiksel hesaplamalarda kullanılan bir dil olarak kendini kabul ettirmiştir. 1959 yılında ise yine büyük bir çığır açan COBOL geliştirilmiştir. 1960 yılında Algol 60 geliştirilmiştir ve 60’lı yıllarda en popüler yazılım [...]

daha fazlası →

A Basic Pointer Example

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 //***************************************************************** // In this example we introcuce pointer concept. It does not //explain everything but it is rather an introduction //***************************************************************** #include <cstdlib> #include <iostream> using [...]

daha fazlası →

Type Casting

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 //********************************************************************* //We introduce casting //********************************************************************* public class TypeCasting{ public static void main(String[] args){ int mum1 = 4; double num2 = 5.56789; char ch = ‘l’; //If we change a double into integer what happens //We use in order to [...]

daha fazlası →

Pass By Reference

//******************************************************* // We introduce the concept of pass by referance // The difference between a method which is //implemented by using pass by referance and which is not //******************************************************* #include #includeusing namespace std; //Defining a method which calculates the square of given number int getSquare1(int num1); int getSquare2(int &amp;num2); int main(int argc, char *argv[]) { [...]

daha fazlası →