New course! Every coder should learn Generative AI!
Try a free lesson+ 2
getch() function is needed only in turbo c++ compiler. As of now ,we are using code blocks where your command terminal is live even without your getch(); instruction or statement.