Yes, Elysia You are right:
"it seems to be related to the copy-line." I tested it: I remarked it and didn't get errors.
"I would suspect that the ostream_iterator for your file doesn't support...
Type: Posts; User: Adalte
Yes, Elysia You are right:
"it seems to be related to the copy-line." I tested it: I remarked it and didn't get errors.
"I would suspect that the ostream_iterator for your file doesn't support...
Hi !
I try to save a shapes from a vector to a file. When I compile a code I get a very large error that begin:...
Hi !
Thank all You!
I solve the question but I'm in the beginning of this task: I still need You help. I started a new thread: "I need help, please".
Thank You in advanced.
Adalte.
Pd:...
Yes Elysia You are right, I intend to store different shapes (polygons, rectangles, etc) into a single vector (if it's possible, it's not a must) and then use them all from there. How I can do that?...
Thank you for hints.
I changed code (just in main, all other is the same):
The problem now is how to put shapes (Polygons, Rectangles, etc) in the vector shapevec. I get error:
...
Hi !
When I compile this piece of code I get the following error:
"NewShapes.cpp: In function `int main()':
NewShapes.cpp:12: error: `ShapePtr' cannot appear in a constant-expression
...