Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 06-17-2005, 03:02 AM   #1
Registered: Dec 2004
Location: Bangalore, India
Distribution: Fedora 2
Posts: 74

Rep: Reputation: 15
Difference between Top Down programming & Bottom up programming

i am new to C++ programming. i read in a book , c follows top down approach & c++ follows bottom up programming. i did'ng get exact meaning. can any one tell me the exact meaning with examples

Thanks in Advance
Old 06-17-2005, 03:42 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,716

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
top down:
you write first the main function, that calls stubs, then you subdivise these stubs in smaller stubs until a real work has to be done, that you code in the final files.

you write (or gather) small components that do basic actions that are required to do the full program work. Then you assemble them by custom code, then assemble these parts to write the main method.

The reality is seldom one or other approach, but a combination of them.
What is certainly wrong is trying to start coding from the middle ...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between ch and 'ch' - C programming indian Programming 3 09-30-2005 12:32 PM
command to read from bottom to top (like more) tommy916 Linux - Newbie 3 07-01-2005 08:34 PM
whats difference between OT and GTK programming cranium2004 Programming 1 03-04-2005 11:40 PM
FC3: Top and Bottom panel Cyberian Fedora 1 11-09-2004 05:01 PM
top/ip programming? Stewart Linux - General 1 10-27-2002 03:33 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:46 AM.

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