Embedded / RTOS

Moderators: None (Apply to moderate this forum)
Number of threads: 362
Number of posts: 665

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
What is modular programming ? Posted by R.Mohan on 13 Nov 2003 at 11:51 PM
i am a new person to this area , can u anyone help me regarding modular programming & task priority .
pls suggest some books & material about this
Thanks
BY
Mohan
Report
Re: What is modular programming ? Posted by athomas on 17 Mar 2004 at 8:02 AM
Hi,

i think you are at the wrong board. Modular programming means to split
up your code into several source files.

/* Header file */
myfunctions.h

/* Source file */

myprogram.c

This is the simplest way to program modularly. You write your own header
file and include it in your source file.

Task priority deals with the priority of tasks in a scheduler. The schedular is a time based array or queue that controlls all the the
tasks and threads via a priority scale that may be implemented as an array.

Information about modular programming can be found in any Programming books for beginners. One of the best is "The C++ programming Language",
by Bjarne Stroustrup.

If you have a Linux distro installed you can look at time.h or sched.h
for a good implementation.
Cheers.
Alexander

: i am a new person to this area , can u anyone help me regarding modular programming & task priority .
: pls suggest some books & material about this
: Thanks
: BY
: Mohan
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.