|
1) Read the red text at the top of this page: No programming questions in the Lounge.
2) You have already posted this in QA:
Cannot implement quick sort algorithm using pivot as middle element.how do I solve it?[^]
3) You still haven't fixed the problem with what you posted in QA - namely, the code you have pasted is corrupt and incomplete.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Even if that was complete, and formatted, and top quality code ... why are you posting it here?
We all wrote bubble sort, quicksort, double bubble, and such like when we were students. We pretty much don't write them now because we have optimised versions in libraries that we "just call" - there are exceptions, but they tend to be both rare and specialized and that code is neither - so why would we be interested in it.
Unless it doesn't work, and you need help - in which case it's rather rude of you to just ignore the writing in read at the top of the page ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Please sort yourself and sort this code out.
|
|
|
|
|
So are you going to listen to the comments on the other copy of this you posted?
If not, you're not going to get anywhere on your assignment.
|
|
|
|
|
I found a Visual Studio 97 Enterprise Edition in original, unopened packaging...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|
|
|
Originally packed in a ZIP?
|
|
|
|
|
Don't be so digital - I have it on 4 DC's foil-wrapped and all...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|
|
I always get a sneaky suspicion these types of downloads (Microsoft has never dropped copyright claims for any version of VS) - might include "a little extra" that wasn't on the original discs...
|
|
|
|
|
If you send me 100 $ Ill take it off your hands
|
|
|
|
|
Don't be so cheap
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|
|
Listen, you guys ...
Noone will buy this because they need access to VS97! This is a offered as a Collector's Item. That kind of stuff tends to be a lot more valuable in the original packaging, especially of the plastic foil is not broken.
I can easily imagine collectors willing to pay a significant amount of money for this item. Maybe CP is not the right forum. I wouldn't expect it to be - we are developers, makers and users of software. Not collectors.
So hang onto this item until you com across true collectors, even if the CP response you have received is rather discouraging.
|
|
|
|
|
I have little Houdinis Hendinis.
I think animals are compromising the fence around the chicken run because they keep finding ways to escape.
They like eating grass, so they're always trying to get out of their run. Grass won't grow wherever chickens are because they scratch at it and eat it until it's gone from the roots, so their run doesn't have any.
The other day, the neighbors dog was loose and cornered my escaped chickens. I have anxiety and am prone to panic attacks, and I had to talk myself down from one quickly and chase after the dog. I twisted my ankle in the process. It still hurts.
Himself went to LA to a conference for 4 days, and every day the chickens were getting out. I had my head on a swivel, was getting paranoid and really anxious. I was miserable the whole time.
It got to the point where I insisted we get rid of the chickens. That's a fight I wasn't winning, so I at least am making him set up Wyze cams in the run.
Because I already have WSL running and Wyze only works on Android or iOS I got Windows Subsystem for Android running, and apps sideloaded from google store. I now can run linux, android, and windows apps like native applications. It's brilliant.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Yeah, but why would the chickens want Linux or Android?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Could the "Why did the chicken cross the road" mystery finally be solved?
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
I thought the solution was "It was stuck to the pervert"?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
They probably wish *I* didn't have it. It allows me to run the Wyze wireless camera app from my PC. It's only available for android and iOS so I use WSA to make it go.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I'm wondering if you can't connect it to Codeproject image AI and check if the chickens are about to run off. Then maybe you could find something that the chickens would be drawn to, like a sound or image color, and lure them back from the fence? Maybe you could share the chicken footage and we could all have a go at it
|
|
|
|
|
Dried grubs. I trick them all the time. They can't resist them.
To err is human. Fortune favors the monsters.
|
|
|
|
|
|
Put a photo of Colonel Sanders next to the fence and see if that gets them to behave
Hogan
|
|
|
|
|
Be careful what you program. For some reason this reminded me of a comment in the Turbo C++ (yes I'm that old) documentation for the Sound function.
/* Emits a 7-Hz tone for 10 seconds.
<pre>
True story: 7 Hz is the resonant
frequency of a chicken's skull cavity.
This was determined empirically in
Australia, where a new factory
generating 7-Hz tones was located too
close to a chicken ranch: When the
factory started up, all the chickens
died.
Your PC may not be able to emit a 7-Hz tone. */</pre>
ref: 7 hertz - the resonant frequency of a chicken's skull - Everything2.com
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
So you don't need a fence...
But In all seriousness 7 Hz is very low frequency, and a normal small camera could never emit this frequency in airborne transmission anyway. Think of a subwoofer, which mind you also doesn't emit much at 7 Hz. The key is the size of the vibrating object when you go toward a lower frequency, as the effective transmission in the low-frequency range is dependent on volume displacement of air.
|
|
|
|
|
Like you don't have enough on your plate.
Time for some extra crispy.
|
|
|
|
|
honey the codewitch wrote: so they're always trying to get out of their run.
So an above ground or below ground problem.
Above ground should be easiest as you can do a visual inspection. Perhaps fencing was not done carefully on a corner.
Below ground involves digging. Perhaps a trench and just move the barrier below the ground. There are other options like stakes or area along fence with larger well packed rocks.
|
|
|
|