Member • Oct 2, 2013
File handling storage issue in c++
#include#include #include #include #include int hun(); int thou(); char f; int main() { char in,x; { cout< >in; x=in; if (x=='a'||x=='e'||x=='i'||x=='o'||x=='u') { hun(); } else { thou(); } ofstream out; out.open("D:\\alphabet.txt"); if(!out) { cout<<"Error opening file"; } else { exit(1); } out<