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

Problems with Char

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
skyfe
Guest







Problems with Char
PostPosted: Wed Dec 24, 2003 4:17 am     Reply with quote

Hello,

I try to program a menu control for my Display, but I have already at the beginning a problem.
My CCS Compiler version 3.147 says: "
*** Error 49 "LCD-MENU.c" Line 25(1,6): Expecting LVALUE such as a variable name or * expression
You can help me ?



#include <16f877.h>
#device ICD=TRUE
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=pin_d5,rcv=pin_d4, ENABLE=pin_b2, PARITY=N, BITS=8) // RS232-Controllerkarte einbinden


void main()
{

char menue[20];



menue = "test";


} Question
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Dec 24, 2003 10:58 am     Reply with quote

Look up the function strcpy() in the user's manual. You will need to use this function.
Skyfe
Guest







PostPosted: Thu Dec 25, 2003 3:36 am     Reply with quote

Thank you Mark,

the function strcpy()works.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group