Hi,
New to C++ and oF. I created a class called Rectangle where I have a ofRect(). Now, I am aware that if I want to use arrays to create multiple objects from a class I would have to use a vector. So this is what I have so far but it throws me a warning:
testApp.h
vector < Rectangle > myRects;
testApp.cpp
void testApp::draw(){
for ( int i = 0; i < 6; i++){
myRects[i].draw();
}
It does not let me load the file and it gives me this warning that points me to my original Rectangle.cpp where I draw my element.
Any suggestion is more than welcome.
