473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

imperative design

Hi,
i have to design a program written in an imperative language.
I ve done the anaylysis part in UML, but how do i proceed?

Core of the program is a data structure that looks like this:
----------- --------
| Initiator |--------------------| Target |
----------- | --------
|
|
-----------
| Attribute |
-----------

(attributed association in UML class diagram)

ill implement it with this matrix: (Initiator X Target -Attribute)

(btw: the language does not provide pointers, so this matrix is the best
way to achieve what i want.)

besides the matrix there are several functions that work with it using
some arrays.

How do i formally correct design such a program.
How do i model the matrix and the functions and how do i proper connect
them?
The only thing i know about imperative desingn are nassi/shneidermann
diagrams, but afaik they are no real help for my problem.
any pointers?

thx in advance,

Sebastian
Jan 28 '07 #1
4 1611
Sebastian Fey wrote:
Hi,
i have to design a program written in an imperative language.
I ve done the anaylysis part in UML, but how do i proceed?
<snip>

Your question apparently has nothing to do with the C language. Try
comp.programming.

Jan 28 '07 #2

"Sebastian Fey" <se***********@web.dewrote in message
news:52*************@mid.dfncis.de...
any pointers?
this is the only part not off topic :)
Jan 28 '07 #3
Serve Laurijssen schrieb:
"Sebastian Fey" <se***********@web.dewrote in message
news:52*************@mid.dfncis.de...
>any pointers?

this is the only part not off topic :)

youre very funny, maybe you also got a newsgroup that matches my problem
better...?
I just thought C programmer know how to design imperative programs...
Jan 28 '07 #4

"Sebastian Fey" <se***********@web.dewrote in message
news:52*************@mid.dfncis.de...
Serve Laurijssen schrieb:
>"Sebastian Fey" <se***********@web.dewrote in message
news:52*************@mid.dfncis.de...
>>any pointers?

this is the only part not off topic :)

youre very funny,
thx
maybe you also got a newsgroup that matches my problem better...?
santosh gave good suggestion
I just thought C programmer know how to design imperative programs...
If I wanted to know more about that topic I wouldnt go to comp.lang.c. btw,
all widely used programming languages are imperative
Jan 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Xah Lee | last post by:
in coding Python yesterday, i was quite stung by the fact that lists appened to another list goes by as some so-called "reference". e.g. t=range(5) n=range(3) n='m' t.append(n) n='h'...
3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
1
by: Jefe | last post by:
Hi group How can I find out the role of user in my local computer using imperative role-based security? Regards,
0
by: Edward Diener | last post by:
In Borland's VCL it was possible to divide a component into design time and run time DLLs. The design time DLL would only be necessary when the programmer was setting a component's properties or...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
19
by: neelsmail | last post by:
Hi, I have been working on C++ for some time now, and I think I have a flair for design (which just might be only my imagination over- stretched.. :) ). So, I tried to find a design...
1
by: Cconfused | last post by:
Hi there, I was wondering if anyone could explain to me the difference between an imperative program, and an OO program? I am fully aware of the languages which support these (older languages...
1
by: skanemupp | last post by:
the 0.409 vs 0.095 is the total times right? so the imperative function is >4 times faster than the recursive. or what does tottime stand for? is this always the case that the recursive function...
5
by: Jean-Paul Calderone | last post by:
On Wed, 16 Apr 2008 13:18:22 -0700 (PDT), skanemupp@yahoo.se wrote: Function calls (recursive or otherwise) are more expensive than for loops, so the version that replaces recursion with a loop...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.