Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ Capabilities

Status
Not open for further replies.

denisfinn

Programmer
Jun 7, 2003
49
US
I was just wondering...does c++ have any limit to the things it can make? Like would making a 3-d object be possible in c++.
 
If the operating platform supports it then you can get it done with C++

Not sure if that is what you meant.

-pete
 
it kind of is...

but i mean like are there anythings that c++ CANNOT do?
 
>> are there anythings that c++ CANNOT do?

You can't make a cheeseburger with it.

>> would making a 3-d object be possible in c++.

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.


-pete
 
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...[2thumbsup]
 
yeah but the one i make using my BBQ tastes so much better [cheers]

-pete
 
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?
 
3Dcheeseburgers.sourceforge.net?

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.
 
thanks!

...I never knew there was a hammer on a swiss army knife. What the hell is wrong with Switzerland?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top