CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

problem with gets()

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sshahryiar



Joined: 05 May 2010
Posts: 94
Location: Dhaka, Bangladesh

View user's profile Send private message Send e-mail Visit poster's website

problem with gets()
PostPosted: Mon Jul 05, 2010 12:46 am     Reply with quote

Can anyone tell me how to use gets. I need a example code.......
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jul 05, 2010 1:54 pm     Reply with quote

This CCS example file shows how to use gets():
Quote:

c:\program files\picc\examples\ex_speed.c


Also look at the get_string() function. It's an improved version of gets().
These files show how to use it:
Quote:

c:\program files\picc\examples\ex_tank.c
c:\program files\picc\examples\ex_str.c


This file has the source code for get_string():
Quote:
c:\program files\picc\drivers\input.c
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group