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

vsprintf: available in ccs?

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



Joined: 18 Feb 2010
Posts: 2

View user's profile Send private message

vsprintf: available in ccs?
PostPosted: Fri May 07, 2010 7:10 am     Reply with quote

As the object, is the vsprintf available in ccs compiler?
Thanks
d
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri May 07, 2010 1:17 pm     Reply with quote

Not specifically. CCS has sprintf. In this link they say they support
variable argument lists, but I've never tried it, and don't know if it works.
http://www.ccsinfo.com/content.php?page=varpara
pippo1234



Joined: 07 May 2010
Posts: 1

View user's profile Send private message

PostPosted: Fri May 07, 2010 4:03 pm     Reply with quote

Tested the sprintf with variable parameters but it does not work.
I think is necessary to write a vsprinft from scratch.
Anyone know a workaround?
P
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri May 07, 2010 5:46 pm     Reply with quote

There's a typo in the sample at that link, but I got it to compile..

Just didn't run it.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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