Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: elico1 on January 16, 2020, 10:50:28 pm

Title: mixing a list in C
Post by: elico1 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
Title: Re: mixing a list in C
Post by: stahta01 on January 16, 2020, 11:18:49 pm
READ AND FOLLOW THE RULES!
http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)