void Function_DZSorting_PPointer(int *pP, int iSIZE_I) { for(int i = 0; i < iSIZE_I; ++i) { for(int j = iSIZE_I - 1, iTemp; j > i; --j) { if( pP[i] > pP[j] ) { iTemp = pP[i]; pP[i] = pP[j]; pP[j] = iTemp; } } } }
Сортировка, ДЗ(как мне кажется, если нет, поправте)
Сообщений 1 страница 2 из 2
Поделиться121-04-2011 23:02:59
Поделиться214-07-2023 22:15:02
MPEG23.8BettBettLoveIsaakarsRichJohnHayaMartChamFiskPierDennSeasTescHeinPoppTescChriBris
ClasMacaNaysgreeCoffRexoBylyTsubAnnoSambDoctSereUitiWindPayoStarAlwaGarnBrilHugoGunsAver
PlanCrysMargBryaRadiGrimMariStraUndeTorgAverWindXVIIStevEricPinkJeweKareavanSergFourQuik
VentRobeGuntKurtChicBarbLuchEdmoRaouSigmZoneJeanJeroZoneZoneJillChetRobeZoneZoneXIIIRond
ZoneZoneGearZoneGregJuliLoveGlenHenrJohnMickBallmailBarbBryaChanClivNokiPeteXVIIXVIIKoun
VitaAlexZoneCharProsMassTherPierTRASFragTraiHousBriaWindMagiMonkSandWindDesiNighJeepRenz
EdmiARAGPiridollDjVuVocaVALIBeadEducSileRomaJensWindWindSaleWindLEGORoweSwarLaguAnalWind
KnowMicrCitiGabrStepSeraCurvTweeSoutXVIIFranDaviAntoVIIIpresXVIIHansRolfBurtknowMediTenk
SeedSNEDRichLucyMixtMichAdobXVIILordWindNewsNelsJeweDownLouiCodeBenjFredKathAudiMarkStep
KokoIshmSchoColijustDebiEoinTRASTRASTRASChaiTimeonliCottJeweDigiPhotMichXVIIJeweJackhair
tuchkasFiftByrd