On Sunday, 30 April 2017 at 02:07:48 UTC, JV wrote:
int func; writeln("\t\tEnter Selection : "); func = readln; writeln(func);
That shouldn't even compile... are you sure that's your actual code, and that it is actually building successfully?
Adam D. Ruppe via Digitalmars-d-learn Sat, 29 Apr 2017 20:06:24 -0700
On Sunday, 30 April 2017 at 02:07:48 UTC, JV wrote:
int func; writeln("\t\tEnter Selection : "); func = readln; writeln(func);
That shouldn't even compile... are you sure that's your actual code, and that it is actually building successfully?