, it will just make my application size bigger for no need. as for goto skip, i do not know how i could deal with that in an other way:
Code:
// snip
if ( empty.getaccnum () == 0 )
{
std::cout <<"Record does not exist \n\n" << std::endl;
goto skip;
}
for (int x = 0; x < times; x++)
{
ReadOut.read ( ( reinterpret_cast < char * > (&empty) ), sizeof (member) );
std::cout <<"Record Number " << LOCATION << std::endl;
std::cout <<"_______________\n"
<<"Username: " << empty.getusername () <<"\n"
<<"Email: " << empty.getemail () <<"\n"
<<"Password: " << empty.getpassword () <<"\n"
<<"Age: " << empty.getage () <<"\n"
<<"Accountnumber: " << empty.getaccnum () <<"\n\n"<< std::endl;
}
skip:
}
ok lol i could implement that if ( empty.getaccnum () == 0 ) into my loop, but that just waisting proccessing time.
(in my eyes)