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: Problem using printf to print string variables
BrunoC12

Replies: 8
Views: 16693

PostForum: General CCS C Discussion   Posted: Fri May 26, 2017 1:38 pm   Subject: Problem using printf to print string variables
Oh, sorry, I had not considered it. With that code the program works correctly, but I need to do it with the 16F628a.
I'm going to try MPLAB to see if it works.
Thanks for your help.

By the way, ...
  Topic: Problem using printf to print string variables
BrunoC12

Replies: 8
Views: 16693

PostForum: General CCS C Discussion   Posted: Fri May 26, 2017 10:43 am   Subject: Problem using printf to print string variables
I tried with while(true), but the program send the same answer.

one
two
three
four
one
two
three


I think the problem is that it doesn't save the last data in the variable AK because it ...
  Topic: Problem using printf to print string variables
BrunoC12

Replies: 4
Views: 14941

PostForum: General CCS C Discussion   Posted: Thu May 25, 2017 8:51 pm   Subject: Same problem
I have the same problem. The program doesn't print all of the values that i define on printf.

#include <stdlib.h>
#include <string.h>
#include <stdio.h>

char ID[], S ...
  Topic: Problem using printf to print string variables
BrunoC12

Replies: 8
Views: 16693

PostForum: General CCS C Discussion   Posted: Thu May 25, 2017 7:56 pm   Subject: Problem using printf to print string variables
I am using strtok to separate any string. Then, I save the different values in a string variable. Up to this point the program is fine.
After that, I print all the values but I can not see that. The ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group