Gad! I found a bug in the code that deleted contacts when sorted! It was a simple ';'!!
Anyway, here is the actual program...
Gad! I found a bug in the code that deleted contacts when sorted! It was a simple ';'!!
Anyway, here is the actual program...
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Well, mr. Jack Rabbit
will there be a new competition soon? I love competitions, and I'd like to do something decent for once... (I just found out that I ****ed up at a cpp-home.com contest )
there are two contestants and three judges: hammer and cicero, and prelude, nvoigt, and me
i'll send you the two entries over e-mail
sometime soon i'd like go into a chat room and discuss each piece in detail, and basically decide who wins. what times are good for you both? (prelude and nvoigt)
yes there will be a new competition, but it won't be formed by the weekend, at least. before discussing a new contest, we have to decide this one.
i have e-mailed prelude and nvoigt. (btw hammer, i transferred your files into another zip). to nvoigt & prelude, give me your opinions around saturday-ish. if you want to discuss it in a chat room sometime, respond to this thread. (also tell me if you've received it successfully).
>prelude? nvoigt? u there?
Check your email.
-Prelude
My best code is written with the delete key.
ah. don't check my e-mail often enough. seems i missed the deadline. how about... tonight at 9:30 PM or tomorrow sometime?
sorry, I received the contests entries, but had a very busy week. I thought I had experienced anything there is in teaching C/C++, especially as trying to explain something over the net in a foreign language isn't that easy. Last week I learned that even if you are sitting at the same desk using the same language, teaching can be soooo tough if your pupil is just no attuned to computers. And teaching VB is even harder, because sometimes you cannot explain syntax with logic, as it simply isn't logical in VB. Not if you don't write compilers yourself, and beginners seldom do m-(
You will get my comments tomorrow. Looks really promising so far ;-)
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.
once i have your comments i'll post a winner's thread and ... tell who the winner is. then we can get on with the next contest. keep the ideas brewing.
to judges: once i get your scores, nvoigt, i'll average them with prelude and mine's. then i'll post everybody's opinion along with the winning piece.
unsticky this thread, please?
//edit thanks
Last edited by ygfperson; 05-29-2002 at 05:46 PM.