Here we are creating Notepad Application using C# with following functionality.

File: New,Open,Save,Print,Exit
Edit:Undo,Cut,Copy,Paste,Delete,Find,Select All,Date/Time
Format:Font,Color
Help:About Notepad X




For Previous tutorial
http://futurextech.blogspot.com/2013/12/creating-sample-notepad-application.html

Find
Create another web form which will pop on clicking find Menuitem.


Cookies is a small piece of information stored on the client machine.It is used to store user preference information like Username, Password,City and Phone Number etc on client machines. We need to import namespace called  System.Web.HttpCookie before we use cookie. 
  
Type of Cookies?

Persist Cookie - A cookie has not have expired time Which is called as Persist Cookie.

Non-Persist Cookie - A cookie has expired time Which is called as Non-Persist Cookie.
star pattern in C :: futureX

PROGRAM 1

   *
  * *
 * * *
* * * *

--------------------------------

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k,l;
printf("enter value of k");
scanf("%d",&k);

for(i=k;i>0;i--)
{
for(l=(i-1);l>0;l--)

{printf(" ");

}
for(j=i;j<=k;j++){
printf("*");
printf(" ");
}
printf("\n");

}
}



PROGRAM 2


    *
   * *
  *   *
 *     *
*       *

--------------------------------



#include<stdio.h>              
#include<conio.h>
void main()
{
int h,i,j,k;
clrscr();
printf("Enter the value");
scanf("%d",&k);
for(h=1;h<k;h++)
printf(" ");
printf("*\n");

for(i=0;i<(k-1);i++)
{for(j=i;j<(k-2);j++)
printf(" ");
printf("*");
for(j=0;j<(2*i+1);j++)
printf(" ");
printf("*\n");
}

getch();
}


PROGRAM 1              
star pattern in C :: futureX


*
**
***
****
*****
******

--------------------------------


#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
printf("Enter the value");
scanf("%d",&k);
for(i=0;i<k;i++)
{for(j=0;j<=i;j++)
{printf("*");
}printf("\n");
}
}


PROGRAM 2


****
***
**
*

--------------------------------


#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
printf("Enter the value");
scanf("%d",&k);
for(i=k;i>0;i--){
for(j=i;j>0;j--)
{printf("*");
}printf("\n");
}
}

PROGRAM 3


*
**
***
****
***
**
*

--------------------------------




#include<stdio.h>
#include<conio.h>
void main()
{int l;
int i,j,k;
printf("Enter the value");
scanf("%d",&k);
for(i=0;i<k;i++)
{for(j=0;j<=i;j++)
{printf("*");
}printf("\n");
}

for(i=(k-1);i>0;i--){
for(l=i;l>0;l--)
{printf("*");
}printf("\n");
}
}





Copyright © 2013 futureX | Blogger Template by Clairvo