Trust Posted December 23, 2018 Author Report Share Posted December 23, 2018 Yo 4 All. Mam se takie pytanko, bo otóż musze napisać progsa który za pomocą winapi tworzy pliki *.txt etc. w podanym wcześniej katalogu. Najlepiej aby nazwa stworzonego pliku była losowana przez funkcję rand(); (nazwa pliku liczby :)) i zeby pentla tworzyla oraz to nowe pliki o innych nazwach(i tej samej tresci) HELP ME !! POZDRO 4 ALL wpadnijcie: www.rufek-zone.prvpl Quote Link to comment Share on other sites More sharing options...
Complex Posted December 23, 2018 Report Share Posted December 23, 2018 Napisz z czym masz problem bo chiba nie liczysz, ze ktos za Ciebie bedzie pisal progsa. Quote Link to comment Share on other sites More sharing options...
Habit Posted December 23, 2018 Report Share Posted December 23, 2018 hehe.. pinolec, ale ty len jestes :D w WM_INITDIALOG (np.) dajesz push 0FFFFFFFFh call Randomize sub esp,4 i potem petla: @@: push 0 call Rand sub esp,4 invoke wsprintf,offset szOutBuff,offset szControl,eax invoke CreateFileA,offset szOutBuff,GENERIC_WRITE,FILE_SHARE_READ,0,CREATE_NEW,FILE_ATTRIBUTE_NORMAL,0 invoke CloseHandle,eax jmp @B ;skok do poczatku petli push 0 call ExitProcess aha! nie zapomnij dodac rand.inc (gdzies w necie jest , zobacz zoomek.prv.pl) Quote Link to comment Share on other sites More sharing options...
Freak Posted December 23, 2018 Report Share Posted December 23, 2018 Zawsze podziwiałem ludzi którzy piszą w asmie tylko po to żeby program był 0.005 sek szybszy ;) Quote Link to comment Share on other sites More sharing options...
Habit Posted December 23, 2018 Report Share Posted December 23, 2018 do spoko jasiu, to napisz mi brutala lamiacego np. hasha z MD5 pod visual c++ , a ja napisze w asmie, bez uzycia winapi i wtedy porownamy ktory predzej znajdzie, ok? Quote Link to comment Share on other sites More sharing options...
Freak Posted December 23, 2018 Report Share Posted December 23, 2018 Nie mieszajmy do tego winapi :) jeśli ja napiszę go pod konsolę w c, a ty w asmie to chyba dużej różnicy nie będzie Quote Link to comment Share on other sites More sharing options...
Omega Posted December 23, 2018 Report Share Posted December 23, 2018 Jezeli sadzisz , ze kazdy co bedzie podawal rozwiazanie jak na talerzu to sie grubo mylisz. Forum jest stworzone nie na rozwiazywanie zadan, tylko dawanie wskazowek. Ale luz - YO 4 ALL. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.