943,539 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 2378
  • C RSS
You are currently viewing page 3 of this multi-page discussion thread; Jump to the first page
Nov 24th, 2008
0

Re: HELP

[QUOTE=lonely_girl;743533]yeah that mickey mouse thing didnt work out....
and my teacher didnt specify what v r to make but she did specify that v have to make some colorful graphics like that mickey mouse but it should have proper coding and also work in turbo C. this sterick idea will surely give me a "0"
Reputation Points: 19
Solved Threads: 0
Light Poster
lonely_girl is offline Offline
29 posts
since Nov 2008
Nov 24th, 2008
0

Re: HELP

Well, you're headed towards a "0" anyway if you haven't made any further effort on this in 5 days and can't find a single example of graphics in C as a starting point.

No one is going to write it for you.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 838
Posting Genius
Ezzaral is offline Offline
6,756 posts
since May 2007
Nov 24th, 2008
0

Re: HELP

Start from the old good bgidemo.c (look at your Turbo C installation directory). Change colours, play with function calls parameters, add this, erase that...
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Nov 26th, 2008
0

thx

hey everyone,
thx for help that all of u did.I actually made a program using ur help and taking help from the sites u gave....
ok i have made this program, it works perfectly,



  1. # include<stdio.h>
  2. # include<conio.h>
  3. # include<stdlib.h>
  4. # include<graphics.h>
  5. # include<alloc.h>
  6. # include<dos.h>
  7. void main(void)
  8. {
  9. int gm,gd=DETECT;
  10. int i;
  11. void*p;
  12. initgraph(&gd,&gm,"c:\\tc3\\bgi");
  13. setcolor(RED);
  14. line(130,75,170,75);
  15. line(130,75,125,100);
  16. line(170,75,175,100);
  17. rectangle(100,100,200,125);
  18. fillellipse(175,125,10,10);
  19. fillellipse(175,125,5,5);
  20. fillellipse(120,125,10,10);
  21. fillellipse(120,125,5,5);
  22. p=malloc(imagesize(100,75,210,135));
  23. getimage(100,75,210,135,p);
  24. cleardevice();
  25. i=0;
  26. while(!kbhit()&&i<640)
  27. {
  28. putimage(i,240,p,XOR_PUT);
  29. delay(8);
  30. cleardevice();
  31. i++;
  32. }
  33. closegraph();
  34. getch();
  35. }
its a moving car
now again i need ur help, not help but helps....
1).my car only moves forward, wat should i do if i wanna move it in reverse???
2).my car has no windows, tried alot cant figure it out...
3).and how shoul i fill colors in my car???
and also if u wanna enhance it more plzz do it...
thx again......
Last edited by Nick Evan; May 5th, 2011 at 11:27 am.
Reputation Points: 19
Solved Threads: 0
Light Poster
lonely_girl is offline Offline
29 posts
since Nov 2008
Nov 26th, 2008
0

Re: HELP

this is awesome
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
atman is offline Offline
50 posts
since Oct 2008
Nov 26th, 2008
0

Re: HELP

Click to Expand / Collapse  Quote originally posted by atman ...
this is awesome
Yeah surrealistic!
Ceci n'est pas une pipe!
Reputation Points: 2023
Solved Threads: 644
Senior Poster
ddanbe is offline Offline
3,735 posts
since Oct 2008
Sep 5th, 2010
0
Re: HELP
hello where can i download the program, because thats my project also,,thank you.
Last edited by shanecali; Sep 5th, 2010 at 7:52 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shanecali is offline Offline
3 posts
since Sep 2010
Sep 5th, 2010
0
Re: HELP
Where *could* that program be?

1: Left of here? Naw, nothing interesting there.

2: Right of here? Nope, just the right margin of the window

3: Down from here? Nope. Only newer posts are there, and you're looking for an older post.

So where could that program be?

For the love of Gawd, *where* could that program BE?



And Welcome to the forum, Shane! For specific help with your program, please start a new thread - this one is quite old, and be specific about what the problem(s) might be.
Reputation Points: 416
Solved Threads: 181
Nearly a Posting Virtuoso
Adak is offline Offline
1,463 posts
since Jun 2008
Sep 5th, 2010
0
Re: HELP
hello nick can u pls. send me the program of mickey mouse..thank u very much,,reply asap..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shanecali is offline Offline
3 posts
since Sep 2010
Sep 5th, 2010
0
Re: HELP
Micky Mouse was just a picture, not an animation. It's on a previous page of this thread.

But I'm Adak, not Nick.
Reputation Points: 416
Solved Threads: 181
Nearly a Posting Virtuoso
Adak is offline Offline
1,463 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: What is going there..?
Next Thread in C Forum Timeline: Help me with Array of structs-where is the error?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC