EmbLogic's Blog

Author Archives: simarpreet.singh

to Pravjot Sir

Block driver implemented. MOUNT/READ/WRITE/UMOUNT Disk working.

Posted in Uncategorized | Leave a comment

To Pravjot Sir

Serial port done with multiple bytes

Posted in Uncategorized | Leave a comment

Status to Pravjot Sir

Successfully implemented Parallel Port:Byte mode according to the protocol.

Posted in Uncategorized | Leave a comment

To Pravjot Sir

sucesfuly implemented parallel port in compatibility and nibble mode..

Posted in Uncategorized | Leave a comment

Message Queues

Message queues completed with multiple clients

Posted in Uncategorized | Leave a comment

client server pipes

client server implemented with pipes using signals and handlers

Posted in Uncategorized | Leave a comment

sockets

implemented sockets using unix…… faced some problems…. but nw everything sorted out..

Posted in Uncategorized | Leave a comment

semaphore

#include int main() { printf(“done with semaphore\n”); return 0; }

Posted in Uncategorized | Leave a comment

assignments status

assignment number 1,2,3,4 done….two-three problems in pointers assignments with partially completed functions assignment …

Posted in Uncategorized | Leave a comment

need of double square brackets..?????

#! /bin/bash echo “enter string 1″ read str1 echo $str1 echo “enter string 2″ read str2 if [[ $str1 == $str2 ]] then echo $str1 and $str2 matched else echo $str1 and $str2 not matched fi exit 0

Posted in Uncategorized | 2 Comments

second feet function

#include float fun(float,float); int main() { float a; printf(“enter 1st number :”); scanf(“%f”,&a); float b; printf(“enter 2nd number :”); scanf(“%f”,&b); float c=fun(a,b); printf(“%.2f”,c); return 0; } float fun(float x,float y) { float sum=x+y; int z=(int)sum; if(sum-z > 0.12) { sum=sum+1.0; … Continue reading →

Posted in Uncategorized | Leave a comment

feet function

#include float fun(float,float); int main() { float a=5.07; float b=7.11; float c=fun(a,b); printf(“%.2f”,c); return 0; } float fun(float x,float y) { float sum=x+y; if(sum>12.12) { sum=sum+1.0; sum=sum-0.12; } return sum; }

Posted in Uncategorized | Leave a comment