|
-
OOP vs Functional
Hmmm....im new to C++ and OOP stuff. can i know what is the benefit of having OOP over functional? For instance:
-----------------------------OOP------------------------------------
int main(int argv, char* argv[]){
Buffer buffer;
buffer.Compress(char* infile, char* outfile);
return 0;
}
----------------------------------------------------------------------
----------------------------Functional---------------------------------
int main(int argv, char* argv[]){
buffer::Compress(char* infile, char* outfile);
return 0;
}
-----------------------------------------------------------------------
how the two above code different in sense of performance and efficiency?
Similar Threads
-
By Phil Weber in forum .NET
Replies: 67
Last Post: 12-15-2002, 01:37 AM
-
By Mark Jerde in forum .NET
Replies: 146
Last Post: 08-18-2002, 04:41 AM
-
By Thomas Eyde in forum .NET
Replies: 290
Last Post: 12-22-2001, 02:13 PM
-
By rmorin@kbcafe.com in forum Enterprise
Replies: 0
Last Post: 03-07-2001, 12:45 AM
-
By Alex L in forum VB Classic
Replies: 0
Last Post: 09-14-2000, 10:40 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks