🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Wicked C++
Here''s some fun C++ trivia to think about:
1. Write a C++ program that emits prime numbers as error messages.
2. Dynamically change the type of an object at runtime using built-in C++ language features.
MSN
quote:
1. Write a C++ program that emits prime numbers as error messages.
I thought that was already commercially available as "Windows 98".
Let me rephrase #1:
Write a C++ file that causes the compiler to emit prime numbers as error messages.
And no, I don''t believe this is a feature in Windows 98![](smile.gif)
MSN
Write a C++ file that causes the compiler to emit prime numbers as error messages.
And no, I don''t believe this is a feature in Windows 98
![](smile.gif)
MSN
Well, isn''t that a bunch of pointless exercies ![](smile.gif)
Maybe the object type change would be useful under some circumstances. Although I cannot think of any right now!
Take it easy,
-Mezz
![](smile.gif)
Maybe the object type change would be useful under some circumstances. Although I cannot think of any right now!
Take it easy,
-Mezz
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement