D
dev_15
Hi, this is one of the questions from Bruce Ekels thinking in C++
book, chapter 12, question 14, i have only posted the first part of
the question that i am stuck with.
How do you combine an integer into the string class in C++?
Write a class called Bird that contains a string member and a static
int. In the default constructor, use the int to automatically generate
an identifier that you build in the string, along with the name of the
class (Bird #1, Bird #2, etc.).
Thanks
book, chapter 12, question 14, i have only posted the first part of
the question that i am stuck with.
How do you combine an integer into the string class in C++?
Write a class called Bird that contains a string member and a static
int. In the default constructor, use the int to automatically generate
an identifier that you build in the string, along with the name of the
class (Bird #1, Bird #2, etc.).
Thanks