Anasayfa » C / C++

C / C++ kategorisindeki yazılar

C / C++ »

[26 Tem 2010 | 2 Yorum | 2.119 views ]
C / C++ Courses ? 4 (Execution & Input)

Let’s start!
To write and execute a program:

Edit : writes codes of the program on a suitable platform
It creates a file which has “cpp” extension. For example: “First.cpp”
Preprocess : adds header files and then checks for errors before compiling
Compile :

checks for syntax errors
converts program code into object code(machine language code)

At this point, “First.cpp” becomes “First.obj”
Link : makes object code and files in preprocessing work together
Load : loads program into memory (CPU will take instructions)
Execute : runs every line in memory, but …

Devamını Oku »

C / C++ »

[23 Tem 2010 | 1 Yorum | 2.030 views ]
C / C++ Courses ? 3 (Variables)

Let’s talk about variables and usage of conversion specifiers now.
What is a variable?

* It’s a location in memory
* It’s used to store input and results. (Results can be output as well)
* It has a name and a data type
* We specify the location in memory by declaring

Three things that we can do with variables are declaration, initialization and using it.If you use a variable without declaring it, it will give you an error “undeclared identifiers”.

Devamını Oku »

C / C++ »

[22 Tem 2010 | C / C++ Courses ? 2 (Output, Escape Characters & Comments) için yorumlar kapalı | 1.460 views ]
C / C++ Courses ? 2 (Output, Escape Characters & Comments)

Let’s continue to refresh our minds:

The first function that we should know is printf function..

This function is used for output. The usage of this function is so simple.

Whatever you want to write as output on the screen, you can put this between quotation marks (” “)

printf(” (Things that you want to see on the screen will be here) “);

Devamını Oku »

C / C++ »

[19 Tem 2010 | 2 Yorum | 1.899 views ]
C / C++ Courses ? 1 (Introduction to C)

Let’s start with memories. There are two kinds of memory:

Temporary Memory: Also called “Primary Memory“. When we say temporary memory, RAM comes to our minds. It contains little space, but it is expensive.
Permanent Memory: Also called “Secondary Memory“.You know this is related to Hard Disc. It needs more space, but it is cheaper than temporary memory.

This theoratical information is enough for now. Let’s make a quick start to programming. The basic terms that a C Program should have, …

Devamını Oku »

C / C++ »

[18 Tem 2010 | 5 Yorum | 1.815 views ]
C / C++ Training Courses

Selam herkese,
Biraz da alanımızla ilgili bir çalışma yapma gereksinimi hissettim. Başlamışken de en temel dil olan “c” programlama dilinden başlamak istedim. Hele de Tara SALİH gibi (bilenler bilir) mükemmel bir hocadan bu dersi alma şansını ucu ucuna yakaladığım için, bunu yapmam gerekiyor sanırım. Yukarıda “course” yazdığına da bakmayın, sadece bildiklerimi paylaşıcam, artık ne kadar biliyorsam o kadar, idare edin. 🙂
Ancak herkesin yararlanması için ve üniversitede dersleri ingilizce gördüğümüz için  ingilizce olarak paylaşmak istiyorum. Zaten rahatlıkla anlayabileceksiniz, çünkü ben yazıcam:) Şimdiden …

Devamını Oku »