How can i include graphics in my C program which is compiled in windows compiler like Dev-c++?
I was wondering whether it was possible to make the game "SNAKE" in C without using commands like gotoxy But a few moments later I realised that it was practically impossible to make it without using such commands. Is there any variant for gotoxy() command in Devc++/windows compiler?

I am not very familier with libraries and stuff so am having trouble using graphics...Is there an easy method for graphics like that employed in DOS graphics.

Recommended Answers

All 2 Replies

You could try SetConsoleCursorPosition();

Here's another usefull link

commented: Excellent - getting them onto win32 rather than conio - Salem +6
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.