0_0_36530156_28962.cpp: In function 'void get_prime()': 0_0_36530156_28962.cpp:24:17: error: 'flag' was not declared in this scope flag = false; ^