C and C++ Programs

Contains C and C++ programs from various categories and notes on data srtuctures and C program related to it. Do leave a comment if you have benefited from my programs.

Tuesday, August 25, 2009

Two Pass Assembler

›
#include #include #include #define lines_in_program 9 void print(char *p,int loc,int len,char ra) {printf("%s\t%d\t%d\t%c\n",p,loc...
7 comments:

Two Pass Assembler

›
#include #include #include void main() { char *code[9][4]={ {"PRG1","START","",""}, {"...
5 comments:

Lexical Analizer

›
/* TO IMPLEMENT LEXICAL ANALIZER IN C */ #include #include void main() { int i,j,lc; char *a[9][4]={"PRG","START" ,...
1 comment:
Thursday, June 11, 2009

Free Web Hosting

›
If you wish to have a professional shared hosting quality in a free hosting package, come and host with 000webhost.com and experience the be...
1 comment:
Sunday, December 21, 2008

Diamond In C

›
/* C program to display a diamond using arrays */ #include #include void main() { int i,j; clrscr(); int no; cout cin>>no; for(i=no;i...

Call By Reference in C

›
/* Program for inerchanging two numbers demonstrating Call By Reference in C */ #include #include void swap(int *,int *); void main() { int ...

Call by Values in C

›
/* Program on interchanging two numbers demonstrating Call By Values in C*/ #include #include void main() { int x,y; x=15;y=20; clrscr(); pr...
2 comments:

Pointers example

›
/* Example of pointers in C. Thsi program uses a function to modify a string using pointers */ #include #include void main() { void getstr(c...

Two Dimentional array in C

›
/* C program to input and display a 2-d array*/ #include #include void main() { int num[3][3],i,j; clrscr(); for(i=0;i { for(j=0;j { scan...
2 comments:
Thursday, December 11, 2008

Carlsberg launches Web-TV channel about football and fan life.

›
Recently Carlsberg Brewery launched a football web-TV-channel partofthegame.tv. They launched 5 channels showing all aspects about football ...
1 comment:
›
Home
View web version

About Me

My photo
Lionel
i Am an Engineering Student From India Who Just Loves Programming and Singing and listening to Gospel music
View my complete profile
Powered by Blogger.