Ashok Basnet

Engineer | Entrepreneur | Programmer | Blogger | CEO / Co-founder [Mantra Ideas Pvt. Ltd.]

Category

Code::Blocks

gotoxy in Code::Blocks

Solution to gotoxy in codeblocks. 1. #include <windows.h> 2. Define a global variable¬† COORD coord = {0, 0}; // sets coordinates to 0,0 3. Make a function gotoxy() void gotoxy (int x, int y) { coord.X = x; coord.Y =… Continue Reading →

© 2017 Ashok Basnet

Powered by WordPressUp ↑