C:\...\main.cpp|13|error: a function-definition is not allowed here before '{' token|
while(strt == 1) {
while(strt = 1) {