How to enter the inputs using input_file.txt & how to show the output using output_file.txt in codeblocks?
Using Input & Output files
Hey you have to add this
#ifndef ONLINE_JUDGE
freopen(“input_file.txt”, “r”, stdin);
freopen(“output_file.txt”, “w”, stdout);
#endif
as first thing in the main.