(C/C++ is procedural, LV is functional)
Quote:
Originally Posted by slavik262
I'm confused by what you're saying by this. While C is procedural or imperative, C++ is Object-Oriented.
|
You should probably look up what "functional programming" means (try Wikipedia). Being Object-Oriented doesn't appreciably change C++'s imperative nature. What you've written seems similar to "While an orange is a fruit, a navel orange is seedless."