I try to display in console array, that user input, i try protect program from user, so when user input numbers of array that equal 0 or have negative value, program re-ask user to input correct value, but, when a user input, for example, - (minus without value) program go to close loop, have You can know, how to protect program from this error?
Why are you using goto instead of one of the more acceptable loops like while() do{}while{} or for(;;)?
but, when a user input, for example, - (minus without value) program go to close loop,
Where is this "close loop" you are talking about?
Do you realize that the extraction operator knows that you can't insert a non-numeric value into an integer? If it detects an error it will set the input stream into an error condition and the variable will be default initialized (set to zero in this case)? You may want to check the state of the stream to insure it is not in an error state.