• 1 Post
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • Well, jokes aside, people who install Arch usually want maximum flexibility out of their system (I have no idea why you would torture yourself like that otherwise). And after some time spent with Manjaro, I can confidently say that it greatly sacrifices your ability to tinker with the system in the name of user friendliness. A great distro to start with, but if you still like it after a couple of months, you probably didn’t need Arch in the first place.









  • rand() generates a number from 0 to a constant defined in stdlib, which usually corresponds to the architechture of your compiler. So, for 32 bit systems (assuming all the software in the line is 32 bit, too) it will be 2^31-1 = 2 147 483 647, as 1 bit in integers is reserved for negative numbers and 1 number is 0.

    Though, by design it is guaranteed to be at least 32767, which is a value for 16 bit integers.