pls... i need help!!!

Reply

Join Date: Oct 2004
Posts: 4
Reputation: felcris_pf23 is an unknown quantity at this point 
Solved Threads: 0
felcris_pf23 felcris_pf23 is offline Offline
Newbie Poster

pls... i need help!!!

 
0
  #1
Oct 8th, 2004
undefinedhow to make a program than can run the "*" 1.from left to right 2.right to left 3.up to down 4.down to up? 5.combination of all.... pls... help me... :-|
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: pls... i need help!!!

 
0
  #2
Oct 8th, 2004
Quite easy.

The easiest one is from left to right and the principle is the same for the rest.Ok I am going to have some fun and provide you with the tools/code needed to produce the effects.You put them togather.




You will need to include conio.h for gotoxy(int x,int y) which will move the output location to x,y and they start from 1,1 not 0,0.getx() returns the current x loc and gety() .... guess.

The next is stdlib.h for delay(int time_in_milli_secs).

For the left to right animation you first output a char and call the delay.After that increase the x val by 1 (or your choice) and output.Loop these.


If you run into trouble post here,best of luck
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC