1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Whats your Profession

Discussion in 'Meet and Greet' started by Safari, Apr 19, 2009.

  1. ankit yadav

    ankit yadav New Member

    Joined:
    Feb 4, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
  2. jaikanth123

    jaikanth123 Banned

    Joined:
    Jan 13, 2010
    Messages:
    24
    Likes Received:
    3
    Trophy Points:
    0
    Occupation:
    business analyst
    Location:
    bangalore
    I am a engineering student as well as working in a web design and development company as a seo junior analyst.
     
  3. nicu81

    nicu81 New Member

    Joined:
    Feb 6, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi. I am an electronist ingeneer. I work as a mobile phones tehnician (gsm).
     
  4. successvenki

    successvenki New Member

    Joined:
    Feb 11, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    ASE in TCS
    Location:
    Guntur
    Hii Friends, I m doing BTech final year as CSE my branch
     
  5. senaratne

    senaratne New Member

    Joined:
    Jul 31, 2008
    Messages:
    254
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Sri Lanka
    Mmmmm. Happy to hear. Do some hard work and success is at your doorstep. :pleased:
     
  6. LanBie

    LanBie New Member

    Joined:
    Feb 19, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I'm a student..
     
  7. LanBie

    LanBie New Member

    Joined:
    Feb 19, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    hi. i'm a student...pls help me to write a program..the problem is how can i display the even number in my text editor using c..i have a code in my text editor
    hope u will help me..
    Code:
    #include<stdio.h>
    #include<conio.h>
    #include<bios.h>
    #include<stdlib.h>
    #include<string.h>
    
    
    int locx,locy;
    
    
    
    void line()
    {
    	locx=wherex();
    	locy=wherey();
    	gotoxy(72,1);
    	printf("Ln %d:%d",locx,locy);
    	gotoxy(locx,locy);
    
    }
    
    
    
    
    int main()
    
    
        {
    	  textbackground(BLACK);
    	  textcolor(WHITE);
    
        FILE *f1;
        int a,b,i,j,x1,y1,x2,y2,z=0,x3,y3,x=1,y=3,d;
        char c,s[1600],fi[20]={"  FileName"};
        char in[5]={"Off"};
        char str[25][80],str1[25][80],str2[25][80];
        char *f;
        clrscr();
        for(i=0;i<25;i++)
        for(j=0;j<80;j++)
        str[i][j]=' ';
        for(i=0;i<25;i++)
        for(j=0;j<80;j++)
        str1[i][j]=' ';
        for(i=0;i<25;i++)
        for(j=0;j<80;j++)
        str2[i][j]=' ';
        gotoxy(x,y);line();
        while(1)
    
    
    	{
    	gotoxy(1,2);
    	d=205;
    	for(i=1;i<80;i++)
    
    
    	    {
    	    printf("%c",d);
    	}
    
    	//line();
    	gotoxy(1,1);
    	printf("%s",fi);
    	gotoxy(20,1);
          //	printf("NOTEPAD");
    	gotoxy(27,1);
    	printf("F1=Menu");
    	gotoxy(45,1);
    	printf("ESC=Exit");
    	gotoxy(55,1);
    	printf("INS=");
    	printf("%s",in);
    	gotoxy(x,y);
    	a=getch();
    	if(a==0)
    
    
    	    {
    	    b=getch();
    	    b=b+100;
    	    a=b;
    	}
    
    	switch(a)
    
    
    	    {
    	    case 172:	//ARROW UP
    	    if(y!=3)
    	    gotoxy(x,--y);line();
    	    break;
    	    case 180:	//ARROW DOWN
    	    if(y!=25)
    	    gotoxy(x,++y);line();
    	    break;
    	    case 175:	//ARROW LEFT
    	    if(x!=1)
    	    gotoxy(--x,y);
    	    else if(y!=3)
    
    
    		{
    		x=80;
    		gotoxy(x,--y);
    	    }
    	    line();
    	    break;
    	    case 177:	//ARROW RIGHT
    	    if(x!=80)
    	    gotoxy(++x,y);//line();
    	    else if(y!=25)
    
    
    		{
    		x=1;
    		gotoxy(x,++y);//line();
    
    
    	    }
    	    line();
    	    break;
    	    case 27:  //EXIT
    	    exit(1);
    	    case 13:	//ENTER KEY
    	    x=1;
    	    gotoxy(x,++y);
    	    break;
    	    case 182:   //INSERT KEY
    	    if(!strcmp(in,"On "))
    	    strcpy(in,"Off");
    	    else
    	    strcpy(in,"On ");
    	    case 8:	//BACK SPACE
    	    for(i=x-1;i<79;i++)
    	    str[y][i]=str[y][i+1];
    	    str[y][i]=' ';
    	    gotoxy(--x,y);
    	    line();
    	    for(i=x;i<79;i++)
    	    printf("%c",str[y][i]);
    	    gotoxy(x,y);
    	    break;
    	    case 159:    // F1
    	    clrscr();
    	    gotoxy(15,4);
    	    printf("F2= New");
    	    gotoxy(15,5);
    	    printf("F3= Open");
    	    gotoxy(15,6);
    	    printf("F4= Save");
    	    gotoxy(15,7);
    	    printf("F5= Save as");
    	    gotoxy(15,8);
    	    printf("X = Back");
    	    gotoxy(80,25);
    	    break;
    	    case 160:    //F2
    	    clrscr();
    	    for(i=0;i<25;i++)
    	    for(j=0;j<80;j++)
    	    str[i][j]=' ';
    	    strcpy(fi,"Untitled");
    	    break;
    	    case 163:    //F5
    	    clrscr();
    	    gotoxy(1,10);
    	    printf("Enter the filename to be saved:");
    	    scanf("%s",f);
    	    strcpy(fi,f);
    	    f1=fopen(f,"w");
    	    for(i=0;i<25;i++)
    	    for(j=0;j<80;j++)
    	    fputc(str[i][j],f1);
    	    fclose(f1);
    	    clrscr();
    	    gotoxy(1,1);
    	    for(i=1;i<25;i++)
    	    for(j=1;j<80;j++)
    
    
    		{
    		gotoxy(j,i);
    		printf("%c",str[i][j]);
    	    }
    
    	    break;
    	    case 161:  //F3
    	    clrscr();
    	    gotoxy(1,12);
    	    printf("Enter the filename to be opened:");
    	    scanf("%s",f);
    	    strcpy(fi,f);
    	    f1=fopen(f,"r");
    	    for(i=0;i<25;i++)
    	    for(j=0;j<80;j++)
    	    str1[i][j]=fgetc(f1);
    	    clrscr();
    	    gotoxy(1,1);
    	    for(i=1;i<25;i++)
    	    for(j=1;j<80;j++)
    
    
    		{
    		gotoxy(j,i);
    		str[i][j]=str1[i][j];
    		printf("%c",str1[i][j]);
    	    }
    
    	    break;
    	    case 162:  	//F4
    	    f1=fopen(f,"w");
    	    for(i=0;i<25;i++)
    	    for(j=0;j<80;j++)
    	    fputc(str[i][j],f1);
    	    fclose(f1);
    	    clrscr();
    	    gotoxy(1,1);
    	    for(i=1;i<25;i++)
    	    for(j=1;j<80;j++)
    
    
    		{
    		gotoxy(j,i);
    		printf("%c",str[i][j]);
    	    }
    
    	    break;
    	    case 120:   // x <---exit
    	    clrscr();
    	    gotoxy(1,1);
    	    for(i=1;i<25;i++)
    	    for(j=1;j<80;j++)
    
    
    		{
    		gotoxy(j,i);
    		printf("%c",str[i][j]);
    	    }
    
    	    break;
    	    default:
    	    c=a;
    	    if(!strcmp(in,"On "))
    
    
    		{
    		i=y;
    		for(j=x;j<80;j++)
    
    
    		    {
    		    gotoxy(j+1,i);
    		    printf("%c",str[i][j]);
    		    str1[i][j+1]=str[i][j];
    		}
    
    		i=y;
    		for(j=x+1;j<80;j++)
    		str[i][j]=str1[i][j];
    	    }
    
    	    gotoxy(x,y);
    	    printf("%c",c);
    	    str[y][x]=c;
    	    x++;
    	    if(x==80)
    
    
    		{
    		x=0;
    		++y;
    	    }
    
    
    	  line();
    
    	}
    
        }}
     
    Last edited by a moderator: Feb 20, 2010
  8. swapnilh

    swapnilh New Member

    Joined:
    Feb 8, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Nanded
    I am studying in IInd year IT diploma polytechnic
    and i want to become a software engineer..:nonod::nonod:
     
  9. freakyjo

    freakyjo New Member

    Joined:
    Feb 17, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Kenya, Nakuru
    i am a student in kenya
     
  10. freakyjo

    freakyjo New Member

    Joined:
    Feb 17, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Kenya, Nakuru
    please provide me with examples of short programs where i can use loops
     
  11. LanBie

    LanBie New Member

    Joined:
    Feb 19, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i'm stil a student..
     
  12. senaratne

    senaratne New Member

    Joined:
    Jul 31, 2008
    Messages:
    254
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Sri Lanka
    Wish you all the best.
     
  13. Fatima Khan

    Fatima Khan New Member

    Joined:
    Feb 20, 2010
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Pakistan
    I am student. looking for a good guidance for bright future.
    will u help me?
    if u have good skills at VB and DATA BASE , contact me
    Aisha_engg@yahoo.com
     
  14. arindra

    arindra New Member

    Joined:
    Feb 23, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    For about a decade now, I am involved with a Web development company.....I also call myself a student as I life is for learning new things everyday. Its nice being here.
     
  15. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    Thats really a Gem of a statement. Student for Life :D
     
  16. BL4CKST0RM

    BL4CKST0RM New Member

    Joined:
    Feb 27, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Students
    Location:
    Stinky Place
    pure science for sure...:nonod:
     
  17. sampath2829

    sampath2829 New Member

    Joined:
    Feb 28, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Sir I am working in LIC of India.I am well versed in VB and C programming. I wish to do write programmes fully based on web with back end MySql and processing various data as given by the user through front end. Hence, Kindly help me in doing programmes using JAVA (since it is platform independent) .with frvent hope u will guide me I have enrolled in this
     
  18. sampath2829

    sampath2829 New Member

    Joined:
    Feb 28, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    working as programmer
     
  19. sampath2829

    sampath2829 New Member

    Joined:
    Feb 28, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    working as a programmer in lic
     
  20. sampath2829

    sampath2829 New Member

    Joined:
    Feb 28, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I don't what else u need
     

Share This Page