General Discussions

JavaScript Animation Libraries – Quick Survey

Originally posted on PH Bytes:
JavaScript is so much powerful that everything can be animated with ease among-st numerous available libraries. Being tried with a few libraries, here is a small survey. The list is never ending. There are 100’s with specific properties. Here are a few which i have used! Collie Can create highly…

C Codes

Fixed Length File Records

Properties: Every record in the file has exactly same size (in byte) Computer knows exact location of records so easy access Slow in transferring the records it has large size Sample Program:

C Codes

Variable Length File Records

Properties: Different record in the file have different size Computer does not know exact location of record, so slow access Fast transferring as it is small in size Sample Program:

C Codes

Load File to Linked List – C

Program to load the integer data from file and add them at the end of singly linked list. The file named ‘numbers.txt’ will hold the integer numbers separated by space.  

General Discussions

Dynamic Memory Allocation API’s – Quick Glance

malloc – allocates and reserves a block of memory, specified in bytes and returns a pointer to the first byte of allocated space. Example: malloc(size) char *str; str = (char *)malloc(10); calloc – allocates multiple block of same size, initializes all locations to zero and returns a pointer to the first byte of allocated space… Continue reading Dynamic Memory Allocation API’s – Quick Glance

General Discussions

Static V/S Dynamic Memory Allocation

  Si. No Static Memory Allocation Dynamic Memory Allocation 1 Memory allocation happens at compile time Memory allocation happens at Run time 2 It applies to global variables, file scope variables, and variables qualified with static defined inside functions It applies to variables that allocate memory during runtime using memory allocation API’s 3 The size is… Continue reading Static V/S Dynamic Memory Allocation

General Discussions

Why Write?

Originally posted on Its PH:
Pleasure of the heart or pain in the ass, the harsh reality or a dreamful fiction, magic or logic, love or hate, however and whatever way the list grows, they are one hell of a solicitous thoughts. If there is anything that can amplify the beauty of these thoughts is…

General Discussions

Should one Learn Functional Programming?

Originally posted on PH Bytes:
Functional originates from mathematics. Languages are about expressing the statements of a program in a formal way. The languages stress on the evaluation and using the resulting value. They will get you some strong foundation on computer science programming concepts. I say that one must and should enjoy learning functional…

General Discussions

Interesting ways to learn Programing

Originally posted on PH Bytes:
So the idea is to accumulate like a cumulative frequency. Put down the roots of programming and branch out with every new language while the trunk remains the same and strong! So, you have three parts. Root, Branches and Trunk. For the Roots part, I would suggest you to read…