LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2012, 10:57 AM   #1
shwethavb
LQ Newbie
 
Registered: May 2011
Posts: 18

Rep: Reputation: Disabled
C C++ Programming


Want to know in detail, what is top down approach and bottom down approach in terms of C C++?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-21-2012, 11:17 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
In any programming language:
Top down means you divide the problem you want to solve into pieces and then subdivide each piece into more pieces until they are small enough to code each piece as a very simple function.

Bottom up means you have enough experience and/or intuition to know what kind of specialized "tools" the project will need and you start by coding basic tools using the built in capabilities of the language, then code increasingly more complex and/or project specific tools in terms of the tools you have already coded until the whole project becomes simple as a result of use of project specific "tools".

Real projects are not actually approached with a pure project structure resembling either of those.

Last edited by johnsfine; 03-21-2012 at 11:19 AM.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration