|
خدمت دوستانیکه آیدی منو دارن و یا خواستن اد کنن باید عرض کنم که چند وقت پیش آیدیم توسط یه از خدا بیخبری
مدير وبلاگ رژين
|+| نوشته شده توسط رژین در یکشنبه 18 فروردین1387 و ساعت 2:6 PM برنامه های درخواستی
/*
######################################## # WWW .radical.com # # Released on mar 2006 # ######################################## */ //Essential Library #include #include #include #include int main(void) ای خدااااااااااااااااااااااا
پروژه
در ضمن اگر نیازی به نوشتن پروژه داشتید لطفافقط و فقط به طور خصوصی در نظرات اعلام کنید حتما میل خودتونم قید کنید ممنون>> رژین
|+| نوشته شده توسط رژین در سه شنبه 20 آذر1386 و ساعت 1:19 AM سلام
سلام بچه ها واقعا شرمندتونم كه دير به دير آپ ميكنم
|+| نوشته شده توسط رژین در دوشنبه 19 آذر1386 و ساعت 0:35 AM ساختمان داده
Copyright ©radical , All rights reserved
ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده ساختمان داده
برنامه بهاره خانم
#include
#include void main() { int gdriver,gmode; char p[8]={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}; //char p2[8]={0x00,0x3c,0x24,0x24,0x3c,0x20,0x20,0x00}; gdriver=DETECT; gmode=0; initgraph(&gdriver,&gmode,""); setcolor(23); circle(300,100,20); //line(60,50,100,100); setfillpattern(p,7); floodfill(300,100,23); setcolor(23); line(300,120,300,220); line(300,220,350,270); line(300,220,265,275); line(270,200,300,150); line(300,150,330,200); setcolor(62); //setbkcolor(9); circle(200,185,5); setcolor(20); circle(213,180,7); setfillpattern(p,7); floodfill(213,180,20); circle(200,172,7); setfillpattern(p,7); floodfill(200,172,20); circle(187,182,7); setfillpattern(p,7); floodfill(187,182,20); circle(192,195,7); setfillpattern(p,7); floodfill(192,195,20); circle(209,195,7); setfillpattern(p,7); floodfill(209,195,20); setcolor(22); line(200,190,200,270); //line(10,275,600,275); setcolor(2); arc(182,225,0,90,17); setcolor(YELLOW); circle(500,50,30); setfillpattern(p,YELLOW); floodfill(500,50,YELLOW); //arc(500,95,300,50,15); //line(500,450,400,50); setcolor(2); //line(10,275,20,275); line(10,300,20,290); line(30,300,20,290); line(50,300,30,290); line(70,300,40,290); line(90,300,60,290); line(110,300,80,290); line(130,300,90,290); line(150,300,100,290); line(170,300,130,290); line(200,300,150,290); line(220,300,200,290); line(240,300,210,290); line(260,300,230,290); line(280,300,250,290); line(300,300,300,290); line(330,300,310,290); line(350,300,320,290); line(380,300,330,290); line(400,300,340,290); line(420,300,360,290);
getch(); } |+| نوشته شده توسط رژین در جمعه 25 آبان1386 و ساعت 8:47 PM اااااس اااااااااام ااااااااس
sms رايگان!!!!
http://sms.parsonline.net/login.php اول بايد ثبت نام كنينن آآآآآآآآآآآآآآآآآ برنامه پشته
#include
#include #include #include const maxsize=20; int a,b,c,top,i,s[maxsize]; void pop(); void push(); void display(); // void main() { for (;;) { clrscr(); cout<<"\n\n\n\n\n\t _____ ----STACK MENO---- ______"; cout <<"\n\n\n\t1)push stack "; cout <<"\n\n\n\t2)display stack"; cout <<"\n\n\n\t3)pop stack"; cout <<"\n\n\n\t4)exit"; cout <<"\n\n\n\tPlease choice (1..4):"; cout <<"\n\n\n\t ---------------------------"; cout <<"\n\n\n\t==>"; cin>>b; switch (b) { case 1:push();break; case 2:display();break; case 3:pop();break; case 4:exit(0);break; } } } //************************** void push() { if (top== maxsize) { clrscr(); cout<<"\n\n\n\n\t_____ ----ERROR:Stack Is Full---- ______"; getch(); } else { top++; clrscr(); cout<<"\n\n\n\n\n\n\tPlease Enter A Number for Stack>>"; cin >>s[top]; } } // void pop() { if(top==0) { clrscr(); cout<<"\n\n\t\t______ -----ERROR: Stack Is Empty-----_____"; getch(); } else { top--; cout<<"\n\n\t\t____---Akharin Onsori ke vared kardid hazf shod----_____"; cout<<"\n"; getch(); } } // void display() { clrscr(); printf("\n\n\n\t\t _____----Display Stack---_____\n"); for (i=1; i<=top;i++) { cout<<"\n\t\t"; cout << s[i]; cout<<"\n\t\t"; cout<<"---\n\t\t"; } getch(); } |+| نوشته شده توسط رژین در جمعه 25 آبان1386 و ساعت 8:15 PM prefix
opsty stack;
2. while ( not end of prefix string) { 3. symb = next character ; 4. if ( symb is operand ) push (opstk , symb ); 5. else { 6. op2 = pop ( opstk ); 7. op1 = pop ( opstk ); 8. result = op1 + symb + op2 ; 9. push ( opstk , result ); } 10. return ( pop ( opstk ) ) ; |+| نوشته شده توسط رژین در جمعه 25 آبان1386 و ساعت 8:14 PM برنامه ي صف حلقوي
#include
#include #include #include const maxsize=10; int n,rear,front,i,q[maxsize]; char b; void addq(); void delq(); void displayq(); void main() { for (;;) { clrscr(); cout<<"\n\n\n\n\n\n\n\n\t\t^~^~^~^~^~^~ Queue ~^~^~^~^~^~^ "; cout <<"\n\n\n\n\t\tA)Add "; cout <<"\n\n\n\n\t\tB)Display"; cout <<"\n\n\n\n\t\tC)Delete "; cout <<"\n\n\n\n\t\tD)Exit"; cout <<"\n\n\n\n\t\tPlease choice (A,B,C or D)"; cin>>b; switch (b) { case 'A': addq();break; case 'B': displayq();break; case 'C' :delq();break; case 'D' :exit(0);break; } } } //*********************** void addq() { if (rear==n-1) { clrscr(); cout<<"\n\n\n\n\n\n\n\n\t\t^~^~^~^~^~^ Queue Is Full ^~^~^~^~^~^~^"; getch(); } else { rear++; clrscr(); cout<<"\n\n\n\n\n\n\n\n\t\t^~^~^~^~^~^ Enter A Number ^~^~^~^~^~^~"; cout<<"\n\n\n\n\n\n\n\n\t\t^~^~^~^~^~^"; cin >>q[rear]; } } //***************************************** void delq() { if(front==rear) { clrscr(); cout<<"\n\n\n\n\n\n\n\n\t\t^~^~^~^~^~^ Queue Is Empty ~^~^~^~^~^~^"; } else { front++; cout<<"\n\n\n\n\n\n\n\n\t\t ~^~^ Avalin onsore vared shode HAzf shod! ~^~^"; cout<<"\n\n\n\n\n\n\n\n\t\t please Insert any key... "; cin>>q[front]; } } //********************************* void displayq() { clrscr(); printf("\n\n\n\n\n\n\n\n\t\t^~^~^~^~^~^ Display Queue ^~^~^~^~^~^ "); for (i=front; i<=rear;i++) { cout << q[i]; cout<<"\n"; cout<<"\n\t\t----------"; } |+| نوشته شده توسط رژین در جمعه 25 آبان1386 و ساعت 8:13 PM |
|


