Forum: C++ Feb 8th, 2009 |
| Replies: 12 Views: 620 Call the copy constructor.
Let me explain:
Shoe shoe1; // calls the constructor
Shoe shoe_copy(shoe1); // copy constructor
Shoe shoe_copy = shoe1; // copy constructor, even if it seems it's... |
Forum: C++ Nov 17th, 2008 |
| Replies: 23 Views: 1,446 int input;
const int ANSWER = random_integer1 + random_integer2;
do
{
cin >> input; // get input
} while(input != ANSWER);
/* this will repeat as long as input is not equal to the answer.... |
Forum: C++ Nov 7th, 2008 |
| Replies: 12 Views: 1,303 Is it an image you changed manually from .jpg (for example) to bmp by just renaming the file? |