cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Abstract class
Abstract class
Sep 16, 2013 at 8:34am UTC
ankushnandan
(64)
Abstract class has pure virtual function defined something like
virtual
void
f() = 0;
Question:- Why cant we have something like
virtual
void
f() = 1000;
// or any integer value
Sep 16, 2013 at 9:00am UTC
tath
(408)
http://stackoverflow.com/questions/2156634/why-pure-virtual-function-is-initialized-by-0
Topic archived. No new replies allowed.