Found the error, you were pretty close from what I can gather. I had an #include field.h in my main.cpp file and for some reason that was what was causing the issue. I'm not sure why this was the case given that I was using header guards.
Found the error, you were pretty close from what I can gather. I had an #include field.h in my main.cpp file and for some reason that was what was causing the issue. I'm not sure why this was the case given that I was using header guards.
Your code is invalid -- widgets cannot be copied thus you shouldn't have an array of Field objects. Instead you can have an array of Field pointers.
Bookmarks