K
kak3012
Hi,
does anyone want to share a rainflow count routine to share with me written
in C++?
TIA
does anyone want to share a rainflow count routine to share with me written
in C++?
TIA
kak3012 said:does anyone want to share a rainflow count routine to share with me written
in C++?
kak3012 said:Hi,
does anyone want to share a rainflow count routine to share with me written
in C++?
iletide þunu yazdý said:#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
kak3012 said:creative
kak3012 said:what I do not understand is that attitude ?!!
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???!!!
waste of time.. for both of us..
kak3012 said:again waste of time Victor.. why? I dont know..
but it is a free news group.. go for it !.
iletide þunu yazdý said: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 misunderstandings and wasted time when using
Usenet.
-Mike
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.