Windows 11 Pro | Intel i7 8700 | ASUS Prime Z370-P | Corsair 16GB 3000MHz | ASUS GTX 1080 | Fractal Design Define S | Corsair RM750x | Hyper 212 EVO
Float - Hur många decimaler ska jag använda? 6, 7, 8 eller 9?
Care About Your Craft: Why spend your life developing software unless you care about doing it well? - The Pragmatic Programmer
Citera för svar
MSI Z490 MAG TOMAHAWK | Intel Core i7 10700K | Corsair 64GB DDR4 3200MHz | Asus GeForce RTX 3060 Ti TUF Gaming OC | Samsung 970 EVO Plus 1TB | WD Black 6TB Desktop Drive | Corsair RM750X 750W | Fractal Design Define R6
Care About Your Craft: Why spend your life developing software unless you care about doing it well? - The Pragmatic Programmer
Asus P6X58D-E || Intel Core i7-930 || Corsair H50 || 3x4GB Crucial Ballistix Elite 1866MHz CL9 || Sapphire R9 390 Nitro 8GB || Sandisk Extreme II 2x120GB RAID 0 || Antec P183, 4 st Chassifläktar || Antec True Power 650W || ASUS VG248QE
I just love the fact that there is a global integer variable named 'i'. Just think, you will never need to declare your loop variable again!
To avoid collisions where a loop that uses 'i' calls another function that loops with 'i', be sure to stack 'i' and restore it when your function exits.