Plasma cutting tube

Hello (sorry for my bad english)
I am building a cnc machine wich cut tubes with plasma energy. I nedd help for the programmation in C++, I am using an arduino with this shield: https://www.dfrobot.com/wiki/index.php/Stepper_Motor_Shield_For_Arduino(DRV8825)_SKU:DRI0023#Sample_code
I also use the 2 same stepper motor with the same connection with the wires( as in the link above)
The thing is the program given makes only the two motors to rotate.
I want to do the same thing as in the video : https://www.youtube.com/watch?v=rkrGQNH64hA
But with a C++ program.
Please help me.
I am building a cnc machine wich cut tubes with plasma energy. I nedd help for the programmation in C++, I am using an arduino with this shield: https://www.dfrobot.com/wiki/index.php/Stepper_Motor_Shield_For_Arduino(DRV8825)_SKU:DRI0023#Sample_code
I also use the 2 same stepper motor with the same connection with the wires( as in the link above)
The thing is the program given makes only the two motors to rotate.
I want to do the same thing as in the video : https://www.youtube.com/watch?v=rkrGQNH64hA
But with a C++ program.
Please help me.

