Entries in the ‘Teknik’ Category:
filed in Teknik on Feb.19, 2011
Today, we wrote and ran our first assembly program. To be honest, since we are used to coding in higher level languages, it seems getting used to assembly will not be easy. However, even though it may get annoying, it is fun! We run our code at Hippy simulator. It simulates a M6800 processor. Despite [...]
Tags: assembly, motorola 6800
filed in Teknik on Jan.30, 2011
Since I am very new to “algorithm” world and neither have enough knowledge nor IQ to solve harder questions, I am trying to solve TopCoder DIV II – Level I questions. They are usually very easy to solve. They do not need any special algorithm knowledge, basic coding approach does work. I will try to [...]
Tags: cpp, srm 492, timetravellingcellar, topcoder
filed in Teknik on Oct.22, 2010
As an exercise, i will design and implement my own stack ADT. First of all we need to build necessary structures. The Head structure will contain a counter and a pointer to stack nodes. The node structure will contain a data pointer and a node pointer. typedef struct node2 { void *dataPtr; struct node2 *nodePtr; [...]
Tags: c, data structures, stack
filed in Teknik on Jul.02, 2010
The programming thing has a lot of tricks and as a programmer, I like them very very much. The latest trick that i have come across is converting a char digit to its integer value. As you know, if you write something like this: char num[11] = “0123456789″; int s = (int)num[0]; printf(“%d\n”,s); It will [...]
Tags: c, char to int, char to int conversion
filed in Teknik on May.07, 2010
http://www.youtube.com/watch?v=E2dMmdewRxE”>httpv://www.youtube.com/watch?v=E2dMmdewRxE
Self explaining headline explaines it all. Two engineers from google answer the question. httpv://www.youtube.com/watch?v=E2dMmdewRxE
Tags: google, interview, open source projects
filed in Teknik on May.07, 2010
Cok uzun zamandir aklimda olup da, buraya koymaya bir turlu firsat bulamadigim bir yaziyi koymak istiyorum. Yazi gercekten cok ama cok guzel. Konusu ise kisaca isletim sistemlerini cok guzel bir benzetme kullanarak karsilastirirken linuxtaki konsolun yararlarini anlatmak. Bu orijinal yazinin sahibi ozgurlukicin forumundan “mu1″. Yazinin orijinaline surdan ulasabilirsiniz: http://www.ozgurlukicin.com/forum/nasil/13894/?page=1 Linux kullanmaya Windows’tan geçenlerin en canını [...]
Tags: linux, shell