You could of course design a C++ class that would contain the necessary data, logic and API calls to model a cheeseburger three dimensionally in a computer graphics display.
nice...but wait a second...I could make a cheeseburger: "You could of course design a C++ class that would contain the necessary data, logic and API calls to model a cheeseburger three dimensionally in a computer graphics display." you have some seroius conflicting statements there...
lol...
do you have ne examples (like an open source kind of thing) that is complete. I need something that will show me how to do this. ...Or could you make a quick class and just tell me how to do it?
Also, if you have an Easy-Bake oven modified to use a serial port and you wrote a driver for it, you might be able to make an actual cheeseburger with C++...
Seriously, though, you can do anything electronically possible with C++; the real issue is how well you can do it and how insane you'd have to be to complete it.
For example, a self-modifying executable written in C++ would theoretically be possible, but I wouldn't want to write it (although I wouldn't want to write it in any language).
You also couldn't write a universally-viewable applet with C++ for the simple reason that no browser (that I know of) supports any kind of C++ applets (although you could write a C++ compiler that compiles to JVM code...)
Even mundane tasks, such as string processing or GUI programming, can be done in C++, but it's often better to use a language more specifically designed for that task than to wade through doing it in C++.
Just because you have a hammer on your Swiss Army-Knife doesn't mean you should use it instead of a real hammer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.