When you want to share code on the forum, just copy and paste it in with one line of space before and after. Then you mark your code and hit ctrl+o or klick the 'c' button in the text editor. And because your names are in french, it would be of help if you added some english comments.
When you say pile, I assume you mean a pile of cards? You already have an array of cards, and you have another array wich hold the order of the cards. What exactly are struggling with?
Answers
When you want to share code on the forum, just copy and paste it in with one line of space before and after. Then you mark your code and hit ctrl+o or klick the 'c' button in the text editor. And because your names are in french, it would be of help if you added some english comments.
When you say pile, I assume you mean a pile of cards? You already have an array of cards, and you have another array wich hold the order of the cards. What exactly are struggling with?
Please post your entire code as text and not as images
Also please don’t use french in your code, but just English
What is stack, pioche?