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 CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: String constants as arguments to in-built functions
rconan

Replies: 7
Views: 8600

PostForum: General CCS C Discussion   Posted: Fri Sep 30, 2011 5:37 pm   Subject: String constants as arguments to in-built functions
Thanks for all your help.
  Topic: String constants as arguments to in-built functions
rconan

Replies: 7
Views: 8600

PostForum: General CCS C Discussion   Posted: Fri Sep 30, 2011 5:30 pm   Subject: String constants as arguments to in-built functions
That works. Kind of a shame this involves an extra step to copy the string into RAM rather than simply passing a pointer to the data in program memory. I guess this is because program memory and RAM a ...
  Topic: String constants as arguments to in-built functions
rconan

Replies: 7
Views: 8600

PostForum: General CCS C Discussion   Posted: Fri Sep 30, 2011 5:14 pm   Subject: String constants as arguments to in-built functions
Thanks for the prompt reply.
That seems to fix the problem I was having but raises an incompatibility with the USB HID driver included with CCS.
Seems the usb_hid_desc.h header populates a constant ...
  Topic: String constants as arguments to in-built functions
rconan

Replies: 7
Views: 8600

PostForum: General CCS C Discussion   Posted: Fri Sep 30, 2011 4:23 pm   Subject: String constants as arguments to in-built functions
Hi,
I've tried a number of times to use string-constants as arguments to in-built string functions which don't modify the string.
Whenever I try doing this I get the following error (or similar):
* ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group