Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #37.0K
~180 People Reached
About Me
i am what i am
- Interests
- singer,programmer,interested in photography
Favorite Forums
Favorite Tags
c x 5
1 Posted Topic
Hello firends , i am new here.. am interested in programming languages... here am sharing some useful graphics codes [B]1.solar system using C[/B] [CODE] #include<stdio.h> #include<graphics.h> #include<conio.h> #include<math.h> #include<stdlib.h> void main() { int gd=DETECT,gm; float i=0,j=100,me=75,ve=23,ma=105,ju=175,sa=10,ur=300,ne=200,pl=175,s=0; int x,y,k,si,sx=random(300),sy=random(400),X,Y,ss; unsigned int earth,moon,mercury,venus,mars,jupiter,saturn,uranus,neptune,pluto,sunsize; void *ear,*moo,*mer,*ven,*mar,*jup,*sat,*ura,*nep,*plu,*sun,*ships,*ships2; x=300; y=210; initgraph(&gd,&gm,"d:\\tc\\bgi"); setfillstyle(1,10); setcolor(2); fillellipse(50,50,13,13); earth=imagesize(35,35,65,65); … |
The End.