Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 how does delays work
Index -> Programming, C -> C Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
cwlvc




PostPosted: Sun Dec 14, 2008 11:13 pm   Post subject: how does delays work

when i write

for (i = 0; i < 255; i++)
for (i = 0; j < 129; j++)

what does these 2 lines mean?
Sponsor
Sponsor
Sponsor
sponsor
md




PostPosted: Mon Dec 15, 2008 2:40 am   Post subject: RE:how does delays work

It means an infinite loop for one Wink
OneOffDriveByPoster




PostPosted: Mon Dec 15, 2008 9:57 am   Post subject: Re: how does delays work

Your previous post implies that the program will run on an embedded system. The timing characteristics may be such that the delay (when actually coded properly) will work by having your program run in a loop for some desired period of time.
Display posts from previous:   
   Index -> Programming, C -> C Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: