IT Nursery
I’m trying a line like this: for i in {1..600}; do wget http://example.com/search/link $i % 5; done; What I’m trying to get as output is: wget http://example.com/search/link0 wget http://example.com/search/link1...
  • May 28, 2022
  • 0 Comments
IT Nursery
I have a program in C++ (compiled using g++). I’m trying to apply two doubles as operands to the modulus function, but I get the following error: error: invalid...
  • May 26, 2022
  • 0 Comments
I’m trying to mod an integer to get an array position so that it will loop round. Doing i % arrayLength works fine for positive numbers but for negative...
  • May 25, 2022
  • 0 Comments
What does the % in a calculation? I can’t seem to work out what it does. Does it work out a percent of the calculation for example: 4 %...
  • May 21, 2022
  • 0 Comments
I’m looking for an explanation of how a hash table works – in plain English for a simpleton like me! For example, I know it takes the key, calculates...
  • May 2, 2022
  • 0 Comments