•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Game Development section within the Software Development category of DaniWeb, a massive community of 426,790 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,717 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Game Development advertiser: Programming Forums
Views: 5415 | Replies: 14
![]() |
•
•
Join Date: Dec 2004
Posts: 10
Reputation:
Rep Power: 4
Solved Threads: 0
Thanks, but either I'm just stupid, or I'm still wading.
Here's the above code I'm trying to use, but it doesn't seem to be working. How do I get to compile it in DOS?
I'm really sorry for taking up your time.
status() is a function, by the way, which accepts strings.
Hope you had a Merry Christmas!
Me. :mrgreen: :rolleyes:
:!:
int graphdriver = VGA;
int graphmode = VGAHI;
int graphicerr = 0;
//Directory for BGI Drivers
char driverpath[]="C:\BC5\BGI";
initgraph(&graphdriver, &graphmode, driverpath);
graphicerr = graphresult();
if(graphicerr!=gr0k)
{
status("Error in Graphics Display. Consult your computer technician for details.");
exit(0);
}Here's the above code I'm trying to use, but it doesn't seem to be working. How do I get to compile it in DOS?
I'm really sorry for taking up your time.
status() is a function, by the way, which accepts strings.
Hope you had a Merry Christmas!
Me. :mrgreen: :rolleyes:
:!:
>How do I get to compile it in DOS?
Are you using DOS? Or are you one of the many ignorant people in the world who think that the Windows command prompt is DOS? You really are behind the times by many years. There are many superior alternatives to BGI these days.
Are you using DOS? Or are you one of the many ignorant people in the world who think that the Windows command prompt is DOS? You really are behind the times by many years. There are many superior alternatives to BGI these days.
I'm a programmer. My attitude starts with arrogance, holds steady at condescension, and ends with hostility. Get used to it.
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,752
Reputation:
Rep Power: 18
Solved Threads: 199
![]() |
•
•
•
•
•
•
•
•
DaniWeb Game Development Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertising ajax asp beta blogging browser business code console debugging development firefox game games google graphics hardware intel internet linux marketing microsoft mozilla msdn news nintendo playstation programming ps3 revenue rss search security software sony stocks sun technology video video game vista w3c web web development wii wiki windows xbox 360 xml yahoo
- Previous Thread: graphic.h
- Next Thread: Simulating 30° with 45° images/tiles



Linear Mode