H
Helong Feng
to ensure the complexity is O(1).THX~
to ensure the complexity is O(1).THX~
Helong said:How to calculate Fibonacci with template to ensure
the complexity is O(1)
There are no templates in C.
Kenny said:But there is in C/C++/C# - which is what most people really mean nowadays
when they refer to "C".
I don't think anybody confuses C# with the other two. C# was
specifically designed as a heresy on C++ - for "the language
business" at you-know-where.
Heh heh. I hear ya. And I did just throw in the C# reference to further
annoy the regs here - as if the sight of those 2 plus signs following the
name of their beloved language wasn't enough.
But, seriously folks, from what I hear, in the "business" world these days,
C# *is* pretty much considered to be the current incarnation of C. Even C++
is considered to be a "legacy language".
Shao said:I don't understand why you'd want to do that.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.