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 7 matches
CCS Forum Index
Author Message
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2007 2:41 pm   Subject: Passing a string to a function
Looks like that might be it. Sure would have made for some cleaner code if it was possible. Thanks for all your help. If I hear anything from CCS, I'll let you know.

Best Regards
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2007 12:33 pm   Subject: Passing a string to a function
Done, I'll post the reply when I get it.

Thanks
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2007 11:44 am   Subject: Passing a string to a function
I just tested the "puts("test embedded constant");" statement as you did only on real hardware using a PIC18F4680 with v4.039 compiler and the string does go out the serial port. ...
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Fri Jun 01, 2007 6:23 am   Subject: Passing a string to a function
In the book "PIC C An introduction to programming the Microchip PIC in CCS C" which I purchased from CCS some time ago, there is an example in section 7.4, "Passing Pointers to Function ...
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Thu May 31, 2007 3:01 pm   Subject: Passing a string to a function
FYI, I'm now running 4.035 and I still get the same error message on the following line: "i = GetInt(" Enter Gain Value - ");" Things are never as simple as they seem ;-) - Ste ...
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Thu May 31, 2007 2:25 pm   Subject: Passing a string to a function
Thanks kevcon! you hit it on the head. I'm running 4.020 and I remember reading about the newer versions allowing pointers too. Guess I'm working too hard.

I'll give it a try and thanks again for ...
  Topic: Passing a string to a function
slandry

Replies: 16
Views: 14159

PostForum: General CCS C Discussion   Posted: Thu May 31, 2007 1:30 pm   Subject: Passing a string to a function
Does anyone have a good way to pass a string to a function? In my application, there are many places where I want to display a message and then get a value from the operator. I would like to create ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group