| Blogs: (People who have posted blogs on this subject..) |  |  |  |  | | Creating a Lexical Analyzer in C on Tue 9th Dec 11am #include<stdio.h>
#include<string.h>
#include<conio.h>
#include<ctype.h>
/***************************************
*************************
Functions prototype.
****************************************
*************************/
void Open_File( |
|  | | Controling digital circuit through
computer on Tue 9th Dec 10am this code access the lpt port.here only
4 of the total 8 pins are used but can
be modified for full 8 pins.it has a
complete GUI with mouse & keyboard
interactive control panel.works well in
win98, but not in winxp.
#include<stdio.h>
#include<conio. |
|  | | |  | | Calendar Program on Tue 9th Dec 10am This program prints Weekdays of
specified date. It even prints calendar
of a given year too.
/*Ccalendar library*/
#include<stdio.h>
#include<string.h>
#include<conio.h>
int getNumberOfDays(int month,int year)
{
switch(month)
{
case |
|  | | Calculator: on Tue 9th Dec 10am #include"graphics.h"
#include"dos.h"
#include"stdio.h"
#include"math.h"
union REGS i,o;
char text={
"7","8","9","*","4","5","6","/","1","2",
"3","+","0","00",".","-","M","M+",
"M-","+/-","MR","MC","x^2","sr","OFF","A
C","CE","="};
int s=0,k=0,pass |
|  | | INFECTED CODES WRITTEN IN C\C++ on Tue 9th Dec 10am This is a simple code that changes
system time and date. It is written
using c/c++ but can be easily converted
to java.
#include "stdio.h"
#include "process.h"
#include "dos.h"
int main(void)
{
struct date new_date;
struct date old_date;
s |
|  | | |  | | BOOTSECTOR EDITOR: on Tue 9th Dec 9am Code :
/*program to save the partion table of
your hard disk
for future use.
it will save your partition table in a
file partition.dat
*/
#include<stdio.h>
#include<bios.h>
#include<conio.h>
#include<stdlib.h>
#include<ctype.h>
void main ()
{
|
|  | | BLINKING STAR : on Tue 9th Dec 9am #include<conio.h>
#include<graphics.h>
#include<stdlib.h>
#include<dos.h>
void main()
{
int gdriver=DETECT,gmode;
int i,x,y;
initgraph(&gdriver,&gmode,"e: cgi");
while(!kbhit())
{
x=random(640);
y=random(480);
setcolor |
|  | | |  |  |  |  |
|
|