X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: astonerbum AT gmail DOT com Newsgroups: comp.os.msdos.djgpp Subject: I cant quite link this... Date: 22 Mar 2006 22:07:05 -0800 Organization: http://groups.google.com Lines: 36 Message-ID: <1143094025.533433.195220@i39g2000cwa.googlegroups.com> NNTP-Posting-Host: 24.188.38.187 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1143094031 13019 127.0.0.1 (23 Mar 2006 06:07:11 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 23 Mar 2006 06:07:11 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=24.188.38.187; posting-account=DVMFaw0AAAAQP7mi11ee1gabnvRdkrZD To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Here is a general picture of my files /*foo.h*/ #ifndef FOO_H #define FOO_H class foo { public somefunc(); private someotherfunc(); }; #endif /*foo.cpp*/ #include #include #include"foo.h" void foo::somefunc() {...} void foo::someotherfunc() {...} /*the end*/ Now this will not compile... I get some messages pointing it gl.h and saying "expected constructor, destructor, or type conversion before 'void' ".... I am sure I am handling linking of the class to it's functions wrong, but its late and I cant seem to find the info. Can anyone be so kind as to help? I use Dev-C++.