Hi ppl...
Am very much new to this forum.I just learning C++...wanna clarify whether there is default object for any c++ class as in java or not!!!???
Hi ppl...
Am very much new to this forum.I just learning C++...wanna clarify whether there is default object for any c++ class as in java or not!!!???
no
zzzzzzzzzzzzzzzzzzzzzzzzzz
-- Rocky
-- DreamSys Software (http://www.dreamsyssoft.com)
-- Free Tiff 2 PDF Library (http://www.dreamsyssoft.com/tiff-to-pdf-api)
No, if you want that, you need to make your own base-class that all other classes are derived (directly or indirectly) from. But it's rarely needed to be SO wide-ranging in the base-class - having a common base for a few related object is usually sufficient for most projects.
[Isn't this a repeat of a question from beginning of this week, or last week some time?]
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
No, I think it came up in another thread, but it wasn't the subject question. That question was, "how can I return any type from a function".
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
hi ppl..thanx for the posts.....
Cheers