Portál AbcLinuxu, 30. prosince 2025 05:32
*(int *)rand() = 0;
Neměl by ale být alespoň první tah zaručen jako bezpečný?
<thingwath@citadel> ~/tmp # ./sweeper Segmentation fault <thingwath@citadel> ~/tmp # ./sweeper Segmentation fault <thingwath@citadel> ~/tmp # ./sweeper Segmentation fault <thingwath@citadel> ~/tmp # ./sweeper Segmentation fault <thingwath@citadel> ~/tmp # ./sweeper Segmentation fault <thingwath@citadel> ~/tmp # ./sweeper Segmentation faultSkvělá sranda, každopádně
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.