POV-Ray : Newsgroups : povray.off-topic : C++ question... : C++ question... Server Time
5 Sep 2024 17:14:16 EDT (-0400)
  C++ question...  
From: Darren New
Date: 12 Jun 2009 14:22:18
Message: <4a329cda$1@news.povray.org>
Isn't it legal to put a class declaration in the same .cpp file where you 
define its member functions and the main() that's the only routine that uses it?

When I did that, I got errors about not being able to find the vtable for 
the class.

Is #include supposed to work just like a textual include? Is this something 
funky with the Qt preprocessing stuff?

-- 
   Darren New, San Diego CA, USA (PST)
   Insanity is a small city on the western
   border of the State of Mind.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.