Re: to include a C++ class in proj

2008-03-27 Thread Brady Duga
On Mar 27, 2008, at 7:05 AM, Nick Rogers wrote: hi, the semicolon is there. i've changed extension to .hh and .mm, still the same error. What file did you change to .mm, the header or the source file? Remember, header files are not compiled (well, generally not), they are included in im

Re: to include a C++ class in proj

2008-03-27 Thread Scott Ribe
> Again what headers to include for a .hh file to be taken as a file > declaring a C++ class? None for what you posted. Headers are only needed to introduce declarations of classes, types, etc which you will use. -- Scott Ribe [EMAIL PROTECTED] http://www.killerbytes.com/ (303) 722-0567 voice

Re: to include a C++ class in proj

2008-03-27 Thread Nick Rogers
hi, the semicolon is there. i've changed extension to .hh and .mm, still the same error. Again what headers to include for a .hh file to be taken as a file declaring a C++ class? Wishes, Nick On 27-Mar-08, at 7:28 PM, Jens Miltner wrote: Am 27.03.2008 um 14:44 schrieb Nick Rogers: are

Re: to include a C++ class in proj

2008-03-27 Thread Sherm Pendley
On Thu, Mar 27, 2008 at 9:44 AM, Nick Rogers <[EMAIL PROTECTED]> wrote: > are we allowed to do that in a cocoa proj. > if so how do we declare the class. > > Is it like? > > class MyClass > { > > } > > this is throwing error at the first line: parse error before > 'MyClass' token To compile a f

Re: to include a C++ class in proj

2008-03-27 Thread Jens Miltner
Am 27.03.2008 um 14:44 schrieb Nick Rogers: are we allowed to do that in a cocoa proj. if so how do we declare the class. Is it like? class MyClass { } this is throwing error at the first line: parse error before 'MyClass' token what headers do i need to include for a C++ class? Make s