Home Forums C Programming Some problems in C++ Re: Re: Some problems in C++

#3512
050449
Participant

thanks it works ok.
now code is

but there is some problems too.
when i enter username it writes only first the letter of the username and all other letters understands as answer to the confirmation and writes

You autorised as:N
do you want to input data to file ( y or n )
bad choice!
do you want to input data to file ( y or n )
bad choice!
do you want to input data to file ( y or n )

and when it shows the data of the file it puts n after all words and when i write “something is wrong”
it shows
something
is
wrong
but in file everything is ok