Default Avatar

cubbi

cubbi

About

Username
cubbi
Joined
Visits
0
Last Active
Roles
Member

Comments

  • It's OK to use. Reuse of existing methods is always a good idea, and since you'll never have to write such class in real life (C++ already has queues), it doesn't really matter how it's done -- you're supposed to show that you've learned whatever yo…
  • Since you said "rewrite" #include <iostream> #include <string> int main() {      std::cout << "Enter a hexadecimal number: ";      unsigned long answer;      std::cin >> std::hex >> answer…
  • Since you said "rewrite" #include <iostream> #include <string> int main() {      std::cout << "Enter a hexadecimal number: ";      unsigned long answer;      std::cin >> std::hex >> answer…
  • Since you said "rewrite" #include <iostream> #include <string> int main() {      std::cout << "Enter a hexadecimal number: ";      unsigned long answer;      std::cin >> std::hex >> answer…