EmbLogic's Blog

Author Archives: Utkarsh Dwivedi

Started work on Sculldev and Scullqset

struct Sculldev { struct Scullqset *scullqset; }; struct Scullqset { void **data; struct Scullqset *next; }; ==================================================================================================== RCS file: ./scull.c,v Working file: ./scull.c head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: … Continue reading

Posted in Uncategorized | Leave a comment

Linklist management program, with an included option of detecting a loop in it.

To check the working of Detect_Loop function, i have created a loop for the first time when we add elements at the end. After then it is fine, and normal again. I have removed, almost every minute bugs in the … Continue reading

Posted in Uncategorized | Leave a comment

Student Database management system, using structures and pointers

========================================== MENU ========================================== 1. Add Student records 2. Delete students records 3. Update students records 4. View all student records 5. Calculate an average of a selected student’s scores 6. Show student who gets the max total score 7. Show … Continue reading

Posted in Uncategorized | Leave a comment

Problem in setting file permissions from open. Want help.

I want to give the permissions of 0666 to my file. But due to the masking done by the umask, I am unable to set the desired file permissions. If anybody have solutions, I would be thankful.

Posted in Uncategorized | Leave a comment

Completed the mdc for all bits, from 1 to 8

After working on mdc for 2 weeks, now I have completed it. Using general function for compression and decompression. After n number of iterations, the code length has been reduced to 136 written lines. I am trying to reduce it … Continue reading

Posted in Project 2: Multiple Data Compression and Encryption | Leave a comment

Print the no. in increasing and decreasing order with a single line in code

Hi, Yesterday I came across a problem. The problem was to print no.(s); firstly in increasing order then decreasing order. It is not a problem at all. But the real trick was, to print it using a single line of … Continue reading

Posted in Uncategorized | Leave a comment