/*Linux program to fetch IP address of host machine */ #include"stdio.h" #include"stdlib.h" #include"errno.h" ...
Read More
Linux program to fetch file from Apache Server
/* Linux program to fetch file from Apache Server */ #include"/usr/include/linux/inet.h" #include"isc/socket.h" #include...
Read More
C programs with flowchart
Here is the index of C programs provided with their algorithms and flowchart. 1. Hello world. 2. Arthmatic functions 3. Convert temp...
Read More
Activate Windows XP without going online
We often came across a problem of activating Windows but we don't wanna go online.So here are the simple steps which will get you rid of...
Read More
Tools for windows
1.) Add Tabs With QTTabBar We are addicted of using tabs since tab browsing has come.We just open 3-4 tabs surf various websites simul...
Read More
LEX program to check whether a expression is valid or not
%{ #include<stdio.h> int a=0,b=0,c=0,d=0,ob=0,cb=0; int flaga=0,flagb=0,flagc=0,flagd=0; %} %% [a-zA-z]+ printf("\n %s is an ide...
Read More
C program for determination of deflection of UDL on simply supported beam
/*program for determination of deflection of UDL on simply supported beam*/ #include<stdio.h> #include<math.h> void main() { ...
Read More
C program to determine correction of temperature
/*program to determine correction of temperature*/ #include<stdio.h> #include<conio.h> void main()...
Read More
C program to find maximum BM and SF of point load
/*program to find max.BM and SF of point load*/ #include<stdio.h> void main() { float w,a,b,l,v,m; clrscr(); pr...
Read More
C program to find distribution factor
/*program to find distribution factor*/ #include<stdio.h> void main() { float sum,a,b,c,d,ans1,ans2,a...
Read More
C program to caculate the depth of water applied to the crop
/*program to caculate the depth of water applied to the crop*/ #include<stdio.h> void main() { int B,D,delta; clrs...
Read More
C program to calculate dry density of soil
/*program to calculate dry density of soil*/ #include<stdio.h> void main() { float dry_density ,wd,v; clrsc...
Read More
YACC program to evaluate an arithmetic expression involving +, - ,* , /
LEX program - -> create a file named calci.l and write following program in it. %{ #include"y.tab.h" #include<math.h> ext...
Read More
C program to implement Floodfill algorithm(4-connected boundary)
#include<stdio.h> #include<conio.h> #include<math.h> #include<graphics.h> 4-way floodfill using a stack for storage ...
Read More
Bresenham's algorithm to generate circle in third quadrant in anticlockwise direction
#include<stdio.h> #include<conio.h> #include<graphics.h> void main() { int gd = DETECT, gm; int x1,y1=0,di,limit=0...
Read More
C program to implement Bresenham's line integer algorithm
#include<stdio.h> #include<conio.h> #include<graphics.h> void main() { int gd=DETECT,gm; int x,y,x1,x2,y1,y2,dx,dy,e,m,k; ...
Read More
C program to implement DDA algorithm
#include<stdio.h> #include<conio.h> #include<math.h> #include<graphics.h> int sign(int); void main() { int gd=DETECT...
Read More
Subscribe to:
Posts (Atom)