hello,
i have a project with two files: file1.cpp and file2.cpp. i also have a
header file, lets call it hand.h (in addition for the resources header
file).
i define a type def structure at file1. i needed the structure to be known
at file2, so i put it un my header file - hand.h.
i have in file2 line code in one of my function that looks like that:
return strctP->field;
strctP is define like this:
mystructure *strctP; // as a pointer to my structure
field is one of the field in my struct.
for some resone i get an error on this line ( - "return ...") saying "
identifier expected".
i really don't know what to do, why doesn't the '->' work?
by the way, i use Code Warrior 6R.
i hope some1 will know the answer because i real stuck.
tnx :-)
byeeeee
--
ELIAH NINYO
[EMAIL PROTECTED]
("`-''-/").___..--''"`-._
`6_ 6 ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' ,'
(il).-'' (li).' ((!.-'
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/