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 6 matches
CCS Forum Index
Author Message
  Topic: Help on handling const string tables by pointer or similar
Jhonatan

Replies: 3
Views: 10133

PostForum: General CCS C Discussion   Posted: Mon Apr 15, 2019 1:24 pm   Subject: Help on handling const string tables by pointer or similar
Thanks PCM programmer, it worked. Perhaps I could have searched more.
Code below outputs this, which is correct, when compiled in v5.076.
1: HELLO USER
2: OLA USUARIO
3: HELLO USER
4: OLA USUARIO ...
  Topic: Help on handling const string tables by pointer or similar
Jhonatan

Replies: 3
Views: 10133

PostForum: General CCS C Discussion   Posted: Fri Apr 12, 2019 11:31 am   Subject: Help on handling const string tables by pointer or similar
So the purpose is handle multi-language support with run time selection in a not "full of ifs" way.
I kind of got to a solution that would not be so ugly, which involves storing the transla ...
  Topic: Compiler error initialising strings?
Jhonatan

Replies: 9
Views: 18475

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2019 1:33 pm   Subject: Compiler error initialising strings?
Sorry Ttelmah and temtronic, this is actually 9th version of a program already running on an old product and I'm just adding some extra functions, which are the extra strings I put here. My first post ...
  Topic: Compiler error initialising strings?
Jhonatan

Replies: 9
Views: 18475

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2019 12:50 pm   Subject: Compiler error initialising strings?
Hi PCM programmer.
Would you remake the test with this code?

This does not print even "TEST":

#include <18F67K22.h>
#device ADC = 12
#fuses NOWDT, BORV27, PUT, SOSC_DIG, NOP ...
  Topic: Compiler error initialising strings?
Jhonatan

Replies: 9
Views: 18475

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2019 12:29 pm   Subject: Compiler error initialising strings?
In deed there are no errors at all (please disconsider the variables are not used in the code posted).

I'm debugging the values of the variables in Proteus CPU variables right after
the source en ...
  Topic: Compiler error initialising strings?
Jhonatan

Replies: 9
Views: 18475

PostForum: General CCS C Discussion   Posted: Mon Mar 18, 2019 11:26 am   Subject: Compiler error initialising strings?
Hello,

I'm compiling this exact code in CCS PIC C version 5.025.

If I put 11 in SIZE, which would be the correct size since all strings are 10 positions plus \0 added by compiler, the variables ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group