1. |
Re: DirectX (mind) |
49 sor |
(cikkei) |
2. |
RE:Amoba (mind) |
20 sor |
(cikkei) |
3. |
Re:itt egy erdekes kis forras... (mind) |
88 sor |
(cikkei) |
4. |
Re: Rotalas (mind) |
11 sor |
(cikkei) |
5. |
Re: Tetszoleges rotalas elmeleti problemaja (mind) |
34 sor |
(cikkei) |
6. |
valtas C -> C++ (mind) |
25 sor |
(cikkei) |
7. |
DirectX (mind) |
36 sor |
(cikkei) |
8. |
URGENT ASSISTANT NEEDED (mind) |
46 sor |
(cikkei) |
|
+ - | Re: DirectX (mind) |
VÁLASZ |
Feladó: (cikkei)
|
Szia!
> Egy mp3 lejátszó programmal kapcsolatban kérnék segítséget, mert már
> semmi ötletem sincs, hogy mi lehet a hiba ! Környezet : Delphi 6,
> DirectX 8.1, Win XP Home
> A secondary buffer play metódusának meghívásakor a következő hibát
> kapom (nem minden esetben ! ) : DSERR_PRIOLEVELNEEDED
Elore mondom, hogy en csak VC++ alatt programoztam DirectX-et. A secondary
buffer kicsit homalyos nekem. A backbuferre gondolsz? Tehat multiple
(double vagy triple) bufferinget szeretnel hasznalni, s a backbuferbe
probalsz frame-et rakni? Majd ezutan Flip?
Ha ez a helyzet, akkor nekem ugy remlik, hogy multiple bufferinget csak
un. "exclusive" modban hasznalhatsz. VC++ alatt erre a SetCooperativeLevel
hivas hasznalhato, melynek DDSCL_EXCLUSIVE konstanst adhatsz meg. De
lehet, hogy exclusive mod csak fullscreen-ben hasznalhato (szinten ezzel
a fuggvennyel allithato be, DDSCL_FULLSCREEN), sajnos a 8.1 helpben nem
talalom ezeket.
Sajnos a DX8.1-es helpben nem ott targyaljak (en nem lattam) vagy nem is
targyaljak kulon a DirectDraw-t, pedig ez az a temakor. Regi, pl DX6.1
helpben irnak ezekrol a dolgokrol (bar sokszor ott se explicit).
> A fenti hibát már mindenhol néztem a neten, de egyszerűen semmi
> anyagot nem találtam hozzá. Van valakinek használható ötlete ? A
> probléma megoldója vendégem egy kiadós sörözésre.
Szerintem ha videot/hangot szeretnel jatszani, akkor a DirectShow-t
hasznald, ami kifejezetten erre valo. Nezz meg ott peldaprogramokat, es
ezek alapjan beepitheted a dolgot a sajat progidba, ez sokkal jobb, mintha
maga erolkodne az ember.
En meg nem hasznaltam DirectShow-t.
Udv!
ui: a Noemis flame-nek nyissunk masik levlistat. Noemit is sajnalom, meg
mindenkit, aki felkapta a vizet a teman. Meg akik csak olvassak azokat is.
--
tocsa
---
| email: |
| homepage: http://www.iit.bme.hu/~tocsa |
---
|
+ - | RE:Amoba (mind) |
VÁLASZ |
Feladó: (cikkei)
|
irta:
>>Aki mar irt amobaprogramot vagy ugy erzi
>>lenne ra ideje, annak erdemes beneveznie
>>az iden osszel megrendezesre kerulo
>>amobaprogramok kozotti versenyre.
> Szvsz nem erdemes. Az altalam ismert legjobb
> Amoba programot Mero Laci irta, vagy 20evvel ezelott
> meg az R10-re. A "Manual" szerint aki a legerosebb
> allasban egymasutan 3x megveri, es kiprinteli a
> jateklistat, annak a szerzo fizet egy sort.
> Hat mit mondjak nem ittuk reszegre magunkat.
> PS. A szerzo legjobb tudomasom szerint a Mat.kut.-ban
> erheto el.
Mero Laszlo talan nem is kockaztatott olyan sokat. Ugy
remlik, az amobaban letezik biztos nyeresi strategia. Arra
mar nem emlekszem, hogy a nyito vagy a masodik jatekos
szamara, de csak az egyikre.
k_tibor
|
+ - | Re:itt egy erdekes kis forras... (mind) |
VÁLASZ |
Feladó: (cikkei)
|
>Felado :
>Mas:
>
>Kedves nem tudom mit csinalsz, de azt
>nagyon :)
>A listának a leveled utáni részét a levelezo progim nem
>masolja a szokott modon.
Hat nem tudom, nalam minden OK...kulonben, ez egy OKes kis program
ami ezt irja ki miutan elinditod:
"On the first day of Christmas my true love gave to me
a partridge in a pear tree.
On the second day of Christmas my true love gave to me
two turtle doves
and a partridge in a pear tree.
On the third day of Christmas my true love gave to me
three french hens, two turtle doves
and a partridge in a pear tree.
On the fourth day of Christmas my true love gave to me
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the fifth day of Christmas my true love gave to me
five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the sixth day of Christmas my true love gave to me
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the seventh day of Christmas my true love gave to me
seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the eighth day of Christmas my true love gave to me
eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the ninth day of Christmas my true love gave to me
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the tenth day of Christmas my true love gave to me
ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the eleventh day of Christmas my true love gave to me
eleven pipers piping, ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the twelfth day of Christmas my true love gave to me
twelve drummers drumming, eleven pipers piping, ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree."
:))) Szerintem total jo :))
Bye!
Ham Towers, They're Marvellous aren't they, Until they fall down!!!
--
Best regards,
Norbert mailto:
http://www.gerst.tk/ ICQ#47803603
|
+ - | Re: Rotalas (mind) |
VÁLASZ |
Feladó: (cikkei)
|
Minden tagot megcserelnek a tole + vagy - iranyba annyira
eso taggal, amekkora a rotalas merteke. A haladas iranya
szinten fugg a rotalas iranyatol, es a tomb vegein wrap
around-ni kell.
A cseret pedig ugy oldanam meg plusz memoria foglalas
nelkul, hogy az egyik elemre ra xor-olom a masikat, az
eredmenyt vissza az elsore, majd azt megint vissza a
masikra.
Remelem, jol ertettem a feladatot.
Pityu
|
+ - | Re: Tetszoleges rotalas elmeleti problemaja (mind) |
VÁLASZ |
Feladó: (cikkei)
|
Hello!
Bocs, nem így értettem. Nem kell kiírni, attól még a tömböd nem rotálódik el. O
tt kell elrotálni, ahol tárolod, anélkül,
hogy egyetlen bitnyi egyéb memóriát használsz rá!
// tehat pl. original tomb:
char valami_tomb[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
int cntr;
// rotalas elott:
for ( cntr = 0; cntr < 10; printf( "%i ", cntr, valami_tomb[cntr++]) );
// Eredmény :
// 0 1 2 3 4 5 6 7 8 9
// mondjuk öttel balra rotálás Rotálás után:
for ( cntr = 0; cntr < 10; printf( "%i ", cntr, valami_tomb[cntr++]) );
// Eredmény :
// 5 6 7 8 9 0 1 2 3 4
Ez a példa egyébként halványan láttatja is a megoldást.
További jó fejtörést!
Robi
On Friday 06 September 2002 07:33, wrote:
> 1. a kiiro rutin a kezdettol tombhossznak megfelelo darab elemet irjon
> ki, ha elerte a tomb veget kezdje az elejen.
> 2. a "rotalas": a kezdo poziciot kell eltolni, jobbra-balra,
> (nem az elso elemmel kell elkezdeni a kiirast!)
>
> Bocs, ha tul gyors voltam :)
>
|
+ - | valtas C -> C++ (mind) |
VÁLASZ |
Feladó: (cikkei)
|
hello,
az lenne a kerdesem, hogy valaki tudna-e ajanlani nekem egy
rovid ismertetot/tutorialt C++ temakorben. A szituacio a
kovetkezo: az egyetemem reszt vesz egy programozasi
versenyen, s valoszinuleg a csapat tagja leszek, am
korulottem mindenki C++, mig en csak C-ben tanultam, s
szeretnek atallni C++-ra en is, hogy eredmenyesebbek
legyunk. A standard in es output temakorben kellene nagyon
gyorsan felzarkoznom a tobbiekhez, ugyhogy ha valaki tudna
segiteni, elore is ezer koszonet!
zsepi
Ui: Szegyen, gyalazat the elfelejtettem, hogy C-ben hogy
lehet beolvasni a standard inputrol (ha pontatlanul
fogalmaztam, akkor bocsanat), konkretan, hogy ha
parancssorbol akarok parametert adni a programomnak,
mondjuk egy file-t, akkor azt hogy olvasom be? valahogy igy
kepzelem, hogy program.exe << file.kiterjesztes - ekkor
hogy ferek hozza a a file tartalmahoz, ami egy sztring lesz.
. Illetve az sem ugrik be, hogy hogyan konvertalok
kulonbozo valtozokat (azaz "12" -> 12). Sajna vagy masfel
eve nem programoztam C-ben, s nincs nalam az a konyv,
amibol anno tanultam :( megegyszer koszonom a segitseget...
|
+ - | DirectX (mind) |
VÁLASZ |
Feladó: (cikkei)
|
Hali!
> Temakor: DirectX ( 17 sor )
> Idopont: Thu Sep 5 13:13:21 CEST 2002 CODER #1620
> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Sziasztok !
>
> Egy mp3 lejátszó programmal kapcsolatban kérnék segítséget, mert már
semmi ötletem sincs, hogy mi lehet a hiba !
>
> Környezet : Delphi 6, DirectX 8.1, Win XP Home
>
> A secondary buffer play metódusának meghívásakor a következő hibát
kapom ( nem minden esetben ! ) :
>
> DSERR_PRIOLEVELNEEDED
>
> A fenti hibát már mindenhol néztem a neten, de egyszerűen semmi
anyagot nem találtam hozzá. Van valakinek használható ötlete ? A > > >
probléma megoldója vendégem egy kiadós sörözésre.
Az MSDN-n tanáltam:
DSERR_PRIOLEVELNEEDED
The caller does not have the priority level required for the
function to succeed.
Beszúrom a linket is:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dx8_vb/
directx_vb/dsound_retval_vb_202q.asp
Üdv.:
SzzS
http://bcb.4u.hu
|
+ - | URGENT ASSISTANT NEEDED (mind) |
VÁLASZ |
Feladó: (cikkei)
|
Dear friend,
I am Mrs. Sese-seko widow of late President Mobutu Sese-seko of Zaire, now know
n as Democratic Republic of Congo (DRC). I am moved to write you this letter.
This was in confidence considering my present circumstance and situation. I esc
aped along with my husband and two of our sons James Kongolo and Nzanga out of
Democratic Republic of Congo (DRC) to Abidjan, Coted'ivoire where my family and
I settled, while we later moved to settled in Morroco where my husband later d
ied of cancer disease. However, due to this situation we decided to change most
of my husband's billions of dollars deposited in Swiss bank and other countrie
s into other forms of money coded for safe purpose because the new head of stat
e of (Dr) Mr Laurent Kabila has made arrangement with the Swiss government and
other European countries to freeze all my late husband's treasures deposited in
some european countries.
Hence, my children and I decided laying low in Africa to study the situation
till when things gets better. Like now that president Kabila is dead and the so
n taking over
(Joseph Kabila). One of my late husband's chateaux in Southern France was confi
scated by the french government, and as such I had to change my identity so tha
t my investment will not be traced and confiscated.I have deposited the sum Eig
hteen Million United State
Dollars (US$18,000,000,00.) With a security company for safe keeping. What I wa
nt you to do is to indicate yourinterest that you can assist us in receiving th
e money on our behalf, so that I can introduce you to my son (Kongolo) who has
the out modalities for the claim
of the said funds. I want you to assist in investing this money, but I will not
want my identity revealed.I will also want to acquire real/landed properties a
nd
stock in multi-national companies and to engage in other safe and non-speculati
ve investments as adviseby your good self. May I at this point emphasize the hi
gh level of
confidentiality, which this upcoming project demands,and hope you will not betr
ay the trust and
confidence, which I repose in you.In conclusion, if you want to assist us, my s
on (Kongolo) shall divulgeto you all briefs regarding this project, tell you wh
ere
the funds are currently being maintained and also discuss remuneration for your
services.For this reason kindly furnish us your contact information,that is yo
ur personal telephone and fax number for validation purpose and acknowledge rec
eipt of this mail using the above email address.
Yours sincerely,
Mrs. Mariam M. Seseseko.
|
|