Depends on type of "graphics", but essentially you have to use a third party library that already does the hard technical labour, and works with your type of terminal. MS terminal is unlike any other terminal.
like i want to add things like icon,buttons like what you see in a normal program
What you want is GUI ( graphical user interface ) application not "console program", try searching for Win32 ( if you are on windows ) ( or Qt ); and SDL if you want games