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 4 1630
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.programmin g.
"Sebastian Fey" <se***********@ web.dewrote in message
news:52******** *****@mid.dfnci s.de...
any pointers?
this is the only part not off topic :)
Serve Laurijssen schrieb:
"Sebastian Fey" <se***********@ web.dewrote in message
news:52******** *****@mid.dfnci s.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...
"Sebastian Fey" <se***********@ web.dewrote in message
news:52******** *****@mid.dfnci s.de...
Serve Laurijssen schrieb:
>"Sebastian Fey" <se***********@ web.dewrote in message news:52******* ******@mid.dfnc is.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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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'
t.append(n)
print t
|
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. The User Experience, or how
the user experiences the end product, is the key to acceptance. And that is
where User Interface Design enters the design process. While product
engineers focus on the technology, usability specialists focus on the user...
|
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,
|
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 events in the Object
Inspector, the equivalent to the VS .NET Windows form designer. The run-time
DLL would only contain the code necessary at run-time. The design time DLL
referenced the run-time DLL, but not vice-versa. This allowed the run-time...
|
by: Shimon Sim |
last post by:
I have a custom composite control
I have following property
| |
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 certification, possibly
that involves C++, but, if not, C++ and UML. All I could find was Java
+ UML design certifications (one such is detailed on
http://www.objectsbydesign.com/tools/certification.html). Although UML
is expected to be language independent,...
|
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 for imperative, and for example Java for OO), and although I understand the basic concepts of OO - classes and objects, I would just like some clarification of the difference between OO and imperative.
At present, I am presuming that an imperative...
|
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 is slower?
the gain is less code?
are some functions only implementable recursively?
|
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 is
faster.
Any function can be implemented without recursion, although it isn't
always easy or fun.
Jean-Paul
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |