here im using visual c++
usually we just drag and drop a button on form1.h (header)
then double click the button to edit the it as an event handler
but how can i use code to create desired number of buttons? in the form but not drag and drop this time? As it is a stupid way to drag many times create button when a large number is needed. I am writing console but Form.
Can anyone help? thanks!