If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > c error: incompatible types in assignment

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-09, 15:49
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
c error: incompatible types in assignment

I have an array
Code:
 char epivates[36][30];
and this code
Code:
char name;
  scanf("%c", &name);
       epivates[1] =(char)name;
and I have this error incompatible types in assignment.
The language is C.
What is wrong?
Dimis
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On