View Single Post
  #10   Spotlight this post!  
Unread 29-01-2009, 17:46
nadavsen2 nadavsen2 is offline
Registered User
FRC #2231
 
Join Date: Jan 2009
Location: israel
Posts: 31
nadavsen2 is an unknown quantity at this point
Re: define a new class(C++)

i didnt put those lines

#ifndef CAMERA_H
#define CAMERA_H

and the #endif..

what is this macro? or its not macro?

and why in the OperatorControl you access you class by typing
Camera c();

and not
Camera *c;
c = new Camera();

?
Reply With Quote