Author Topic: mixing a list in C  (Read 3138 times)

Offline elico1

  • Single posting newcomer
  • *
  • Posts: 5
mixing a list in C
« on: January 16, 2020, 10:50:28 pm »
Hi all
in case I have a list of numbers like 1 2 3 4 5 6 7 and I need to mix this list in random to turn it to a new list
like 4 7 2 3 5 1 6 4 for example , ho is it done in C code ?
Thanks
Elico

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: mixing a list in C
« Reply #1 on: January 16, 2020, 11:18:49 pm »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org