VS and CODEBLOCKS compile and run fine . When I try Dev c++ or Online GDB I get error.
// Ex7.cpp : This file contains the