"kak3012" <s021183@studen t.dtu.dk> wrote in message news:<cm6f06$29 o1$1@gnd.k-net.dk>...[color=blue]
> does anyone want to share a rainflow count routine to share with me written
> in C++?[/color]
Sure. Post your instructor's email address, and I'll send one so
that the entire class can enjoy.
Socks
"kak3012" <s021183@studen t.dtu.dk> wrote in message
news:cm6f06$29o 1$1@gnd.k-net.dk...[color=blue]
> Hi,
>
> does anyone want to share a rainflow count routine to share with me[/color]
written[color=blue]
> in C++?[/color]
#include <iostream>
#include "sensor.h"
unsigned long rfcount(void)
{
unsigned long count(0);
while(raindrop_ detected())
{
++count;
if(count == 0)
std::cout << "Raindrops keep failing"
" to be read ...\n"
"The programmer must have"
"gone to bed ...\n";
}
I live in Washington State, so here, this code
could run for a very long while (and will probably
sing). Also, the current state of a certain mountain
could lead to distortion of the results.
I have the procedure from FATIGUE LOADS 2nd edition 1990 from International
energy Agency, but it is so strange booklet for me.
What I mean is, I DO NOT need you, I am asking for help!
If you do not know the difference , well, you have just been educated.
Do not try to find another stupid way of expressing yourself...
have a nice day !
<puppet_sock@ho tmail.com>, iletide sunu yazdi
news:c7976c46.0 411021156.328ca fe4@posting.goo gle.com...[color=blue]
> "kak3012" <s021183@studen t.dtu.dk> wrote in message[/color]
news:<cm6f06$29 o1$1@gnd.k-net.dk>...[color=blue][color=green]
> > does anyone want to share a rainflow count routine to share with me[/color][/color]
written[color=blue][color=green]
> > in C++?[/color]
>
> Sure. Post your instructor's email address, and I'll send one so
> that the entire class can enjoy.
> Socks[/color]
"Mike Wahler" <mkwahler@mkwah ler.net>, iletide þunu yazdý
news:2LShd.1962 $O11.847@newsre ad3.news.pas.ea rthlink.net...[color=blue]
> "kak3012" <s021183@studen t.dtu.dk> wrote in message
> news:cm6f06$29o 1$1@gnd.k-net.dk...[color=green]
> > Hi,
> >
> > does anyone want to share a rainflow count routine to share with me[/color]
> written[color=green]
> > in C++?[/color]
>
> #include <iostream>
> #include "sensor.h"
>
> unsigned long rfcount(void)
> {
> unsigned long count(0);
>
> while(raindrop_ detected())
> {
> ++count;
>
> if(count == 0)
> std::cout << "Raindrops keep failing"
> " to be read ...\n"
> "The programmer must have"
> "gone to bed ...\n";
> }
>
> return count;
> }
>
> int main()
> {
> std::cout << rf_count() << "raindrops detected" << '\n';
> return 0;
> }
>
>
> I live in Washington State, so here, this code
> could run for a very long while (and will probably
> sing). Also, the current state of a certain mountain
> could lead to distortion of the results.
>
> -Mike
>
>[/color]
"kak3012" <s021183@studen t.dtu.dk> wrote in message
news:cm8u0j$2ve t$1@gnd.k-net.dk...[color=blue]
> creative :)[/color]
What our 'sarcastic' replies are indicating is that
nobody is going to write the code for you. If you
try to do it yourself and get stuck, you can post
your code accompanied by specific questions, which
will indeed elicit some help and advice from the
people reading here.
Also, you cannot assume that people will know what
'rainflow count' means in your context. I certainly
did not, but a quick peek with google indicates that
it's some defined algorithm. When you post your
code, either give a sufficient description of it,
or post a link to one.
I ask something.. you know it ? Lets have a chat.. You do not, just pass by.
This group is not the meaning of life.
I do not want to write the code ,cause it is not my business. I am allowed
to use a freesource code if I can find one. The aim of the software I am
writing is not the rainflow count.
I ahve already find one but cannot clear the Matlab MEX C++ code and make a
pure C++ code from it for DLL compile to use in LabView. That is all. (The
link is in one of the post in this threat I have send)
So, I have asked... telling again, you know it? lets talk, if not, what is
the meaning of these???!!!
kak3012 wrote:[color=blue]
> what I do not understand is that attitude ?!![/color]
Is that a question?
[color=blue]
> I ask something.. you know it ? Lets have a chat.. You do not, just pass by.[/color]
Consider refraining from telling people what to do. Oops. Didn't I just
tell you what to do? Damn.
[color=blue]
> This group is not the meaning of life.[/color]
It doesn't mean you couldn't benefit from it.
[color=blue]
> I do not want to write the code ,cause it is not my business. I am allowed
> to use a freesource code if I can find one. The aim of the software I am
> writing is not the rainflow count.[/color]
Who cares?
[color=blue]
> I ahve already find one but cannot clear the Matlab MEX C++ code and make a
> pure C++ code from it for DLL compile to use in LabView. That is all. (The
> link is in one of the post in this threat I have send)[/color]
So, if you already found it, and are having problems with it, wouldn't it
make more sense to post the problematic code to ask for advice instead of
looking for more free code? And bitching about attitudes?...
[color=blue]
> So, I have asked... telling again, you know it? lets talk, if not, what is
> the meaning of these???!!![/color]
Meaning is to tell you how to get the best out of visiting this newsgroup,
that is all.
[color=blue]
> waste of time.. for both of us..[/color]
Exactly. Perhaps after realising this you'll be on your way... I wish...
"kak3012" <s021183@studen t.dtu.dk> wrote in message
news:cm92j6$bp$ 1@gnd.k-net.dk...[color=blue]
> again waste of time Victor.. why? I dont know..
>
> but it is a free news group.. go for it !.[/color]
A few words of friendly advice:
Before posting here again, I strongly suggest you
read this:
These should cause you to realize that your original post
was not topical here anyway, so any and all of your
complaints will most likely fall upon deaf ears.
Also, I suggest you find and read the corresponding document(s)
for any other newsgroup(s) (especially technical ones) which
you might want to post to. This should go a long way toward
preventing more misunderstandin gs and wasted time when using
Usenet.
"Mike Wahler" <mkwahler@mkwah ler.net>, iletide þunu yazdý
news:YIUhd.2100 $O11.458@newsre ad3.news.pas.ea rthlink.net...[color=blue]
> "kak3012" <s021183@studen t.dtu.dk> wrote in message
> news:cm92j6$bp$ 1@gnd.k-net.dk...[color=green]
> > again waste of time Victor.. why? I dont know..
> >
> > but it is a free news group.. go for it !.[/color]
>
> A few words of friendly advice:
>
> Before posting here again, I strongly suggest you
> read this:
>
> http://www.slack.net/~shiva/welcome.txt
>
> and this:
>
> http://www.parashift.com/c++-faq-lite/
>
> These should cause you to realize that your original post
> was not topical here anyway, so any and all of your
> complaints will most likely fall upon deaf ears.
>
> Also, I suggest you find and read the corresponding document(s)
> for any other newsgroup(s) (especially technical ones) which
> you might want to post to. This should go a long way toward
> preventing more misunderstandin gs and wasted time when using
> Usenet.
>
> -Mike
>
>[/color]
Comment