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 12 matches
CCS Forum Index
Author Message
  Topic: confuse about strlen
chongado

Replies: 6
Views: 8314

PostForum: General CCS C Discussion   Posted: Mon Apr 27, 2009 11:54 pm   Subject: Thank you
Hi There thank you so much I can do it ^^

'\0' lovely character
  Topic: confuse about strlen
chongado

Replies: 6
Views: 8314

PostForum: General CCS C Discussion   Posted: Mon Apr 27, 2009 3:08 am   Subject: confuse about strlen
char str

Thank you

You mean I should use the last of array to '/0'
can I code this " str[1]='/0' ", right?
  Topic: confuse about strlen
chongado

Replies: 6
Views: 8314

PostForum: General CCS C Discussion   Posted: Sun Apr 26, 2009 10:25 pm   Subject: about terminate character
Thank you.
  Topic: confuse about strlen
chongado

Replies: 6
Views: 8314

PostForum: General CCS C Discussion   Posted: Sun Apr 26, 2009 9:39 pm   Subject: confuse about strlen
Hi there, I'm confusing about function strlen()

when I coding like this

char str[10];

str[0]='a';

when I show the result of strlen(str), It'll be 3.

why??? wh ...
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sun Apr 26, 2009 12:00 am   Subject: Hi This is my Project please help me to compile success
[URL=http://www.uploadd.com/download.aspx?pku=3A517B174BF45U[RUKNMSCN2EWQ1D6]http://www.uploadd.com/download.aspx?pku=3A517B174BF45U[RUKNMSCN2EWQ1D6


please help me Crying or Very sad
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 11:08 pm   Subject: reply
I can't see, how the code should compile when commenting the said part.

The problem is actually with BOOL, that is neither a standard C nor a CCS specific type identifier (Though it's defined with ...
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 12:54 pm   Subject: Huh! I've got a new error
the error is "Identifier is already used in this scope"

How can I do? Sir.
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 11:46 am   Subject: Hi haha!!
I found something when I comment some code
/*

#define XEE_SUCCESS FALSE
#define EEPROM_BUFFER_SIZE (32)

typedef BOOL XEE_RESULT;
typedef unsigned long DWORD;
*/
void DoWrite( ...
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 11:35 am   Subject: Still have problem
Hi Sir. I'll post my source for you.

#define XEE_SUCCESS FALSE
#define EEPROM_BUFFER_SIZE (32)

typedef BOOL XEE_RESULT;
typedef unsigned long DWORD;

void DoWrite(void); ...
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 11:24 am   Subject: Problem with CCS "expecting an identifier"
Look further back if there is still nothing obvious.
This is an at times 'unfortunate' feature of CCS, where it will quite often give an error quite a few lines 'after' the actual problem. The compil ...
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 5:35 am   Subject: Thank you
The error isn't in this line. It's either appearing in the wrong place, or there is a syntax error before.

Thank you, I'll check the code before this line.
  Topic: Problem with CCS "expecting an identifier"
chongado

Replies: 13
Views: 24390

PostForum: General CCS C Discussion   Posted: Sat Apr 25, 2009 1:35 am   Subject: Problem with CCS "expecting an identifier"
Hi there,
I got a problem with error "expecting an identifier"

at this line --> static void DoWrite(void); in my code

I don't understand, Could you help me Sir? ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group