Advertisement

01.22.2005 at 04:50AM PST, ID: 21284362
[x]
Attachment Details

"error: incompatible types in assignment"

Asked by sutejok in C Programming Language, Adobe Type Manager

Tags: types, incompatible, assignment



struct opcodeTable
{
   char name[10];
   char code[3];
};


opcode_table[0].name="add";    // error on this line


When doing the above, i got the error msg saying "error: incompatible types in assignment" on a unix machine. what happened?

thxx
Start Free Trial
[+][-]01.22.2005 at 05:01AM PST, ID: 13109916

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C Programming Language, Adobe Type Manager
Tags: types, incompatible, assignment
Sign Up Now!
Solution Provided By: lemmeC
Participating Experts: 3
Solution Grade: A
 
 
[+][-]01.22.2005 at 09:37AM PST, ID: 13111255

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.22.2005 at 12:11PM PST, ID: 13111951

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32