Hi,
I have a problem with sturcts.
I have something like :
I want to create structs as user request.Code:struct stack1 { int number; struct stack1 *next; };
I mean, i`ll get some number from the user input, and create this number of startcts.
For example, i got the number 3 from the user.
Automaticly create :
stack1 s1; stack1 s2; stack1 s3; ( 3 structs ).
I dont care the structs names.
I hope the explanation was clear, Thanks for helpers.
Or.



LinkBack URL
About LinkBacks



